Created
July 12, 2016 15:58
-
-
Save cojennin/6bd47b8dbfb853ddc60d12f56c14acab to your computer and use it in GitHub Desktop.
Make post type 'any'
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 | |
/** | |
* Plugin Name: Edit Flow - All post types in Story Budget | |
*/ | |
function post_type_as_any( $args ) { | |
$args['post_type'] = 'any'; | |
return $args; | |
} | |
add_filter( 'ef_story_budget_posts_query_args', 'post_type_as_any' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment