Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save garretthyder/e263baf4e49ab6e1ae433995f1685d89 to your computer and use it in GitHub Desktop.
Save garretthyder/e263baf4e49ab6e1ae433995f1685d89 to your computer and use it in GitHub Desktop.
CPTUI - Enable Non-Public Post Types in Taxonomy creation
<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