Skip to content

Instantly share code, notes, and snippets.

@NateJacobs
Created August 2, 2014 19:54
Show Gist options
  • Save NateJacobs/e75a693c388da7472ee9 to your computer and use it in GitHub Desktop.
Save NateJacobs/e75a693c388da7472ee9 to your computer and use it in GitHub Desktop.
Dump out the SQL requests made on each page for the post.
add_filter( 'posts_request', function($input){
var_dump($input);
return $input;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment