Created
August 22, 2016 18:10
-
-
Save theukedge/f9343a37eeacdfaf516375c25bdc36a7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 function limit_soup( $args ) { | |
$args['post_status'] = array( 'draft', 'future' ); | |
return $args; | |
} | |
add_filter( 'soup_query', 'limit_soup' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment