SHARE
TWEET

Untitled

a guest Oct 23rd, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. array(7) {
  2.   ["where"]=>
  3.   string(364) " AND istockstatus.meta_key = '_stock_status' AND istockstatus.meta_value <> ''  AND (
  4.   wp_posts.ID NOT IN (
  5.                 SELECT object_id
  6.                 FROM wp_term_relationships
  7.                 WHERE term_taxonomy_id IN (7)
  8.             )
  9. ) AND (
  10.   wp_postmeta.meta_key = '_stock'
  11. ) AND wp_posts.post_type = 'product' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled')"
  12.   ["groupby"]=>
  13.   string(11) "wp_posts.ID"
  14.   ["join"]=>
  15.   string(141) " INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) INNER JOIN wp_postmeta istockstatus ON (wp_posts.ID = istockstatus.post_id) "
  16.   ["orderby"]=>
  17.   string(84) " istockstatus.meta_value ASC, wp_postmeta.meta_value+0 DESC, wp_posts.post_title ASC"
  18.   ["distinct"]=>
  19.   string(0) ""
  20.   ["fields"]=>
  21.   string(10) "wp_posts.*"
  22.   ["limits"]=>
  23.   string(12) "LIMIT 12, 12"
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top