Last active
August 24, 2016 09:23
-
-
Save andykillen/043df56e5376a2f3474889012089a1d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$args = array( | |
'post_type' => 'post', | |
'post_status' => 'publish', | |
'posts_per_page' => '5' | |
'no_found_rows' => true, // turn off pagination information | |
'update_post_meta_cache' => false // don't do anything with post meta cache | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment