Closed simonwheatley closed 9 years ago
For example this one, which utilises post meta parameters:
$jobs = get_posts( array( 'bbl_translate' => false, 'post_type' => 'bbl_job', 'post_status' => $statuses, 'meta_key' => "bbl_job_{$type}", 'meta_value' => "{$name}|{$id}", 'posts_per_page' => -1, ) );
A couple of options:
suppress_filters = false
WP_Query
suppress_filters
false
For example this one, which utilises post meta parameters:
A couple of options:
suppress_filters = false
to allow caching systems which cache the DB queries to cache for us (N.B. switching toWP_Query
would defaultsuppress_filters
tofalse
)