Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

add filter to disable metabox on add form #20

Merged
merged 1 commit into from
Jan 14, 2015

Conversation

billerickson
Copy link
Contributor

To disable the metaboxes on the 'Add Category' screen you simply do add_filter( 'taxonomy_metadata_display_on_category_add_form', '__return_false' );

Might want to adjust the filter name, but this seems to be the simplest solution.

To disable the metaboxes on the 'Add Category' screen you simply do add_filter( 'taxonomy_metadata_display_on_category_add_form', '__return_false' );

Might want to adjust the filter name, but this seems to be the simplest solution.
jtsternberg added a commit that referenced this pull request Jan 14, 2015
Add filter to disable metabox on add form. Props @billerickson
@jtsternberg jtsternberg merged commit 059522e into jtsternberg:master Jan 14, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants