Created
June 14, 2018 06:38
-
-
Save garretthyder/e263baf4e49ab6e1ae433995f1685d89 to your computer and use it in GitHub Desktop.
CPTUI - Enable Non-Public Post Types in Taxonomy creation
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 | |
// CPTUI - Enable Non-Public Post Types | |
function enable_non_public_post_types( $args ) { | |
return array(); | |
} | |
add_filter( 'cptui_attach_post_types_to_taxonomy', 'enable_non_public_post_types' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment