Last active
March 22, 2017 20:47
-
-
Save adamsilverstein/c09ed1b084b0a81fe3e8240c42ee425c 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
// Show 10 posts in the quick draft list. | |
wp.hooks.addFilter( | |
'dashboard_recent_drafts_fetch_args', | |
function( $args ) { | |
$args['per_page'] = 10; | |
return $args; | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment