wpdevco
11/25/2014 - 12:14 AM

Optimize WP_Query

Optimize WP_Query

$args = array(
   'no_found_rows' => true //* post pagination
   'update_post_term_cache' => false //* post terms
   'update_post_meta_cache' => false //* post meta
);

$query = new WP_Query( $args );