Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $m = date('m');
- $args = array(
- 'numberposts' => -1,
- 'post_type' => 'product',
- 'month' => '$m',
- 'meta_query' => array(
- 'key' => 'wpcf-product_status',
- 'value' => 'valid',
- 'compare' => '='
- ),
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement