remove meta boxes from other post types
-
At the moment your plugin adds the Media Tags meta box to the site panel of all the edit post screens in the admin area.
Can I suggest changing mediatags_admin.php from
function mediatags_metaboxes() { add_meta_box('tagsdiv-' . MEDIA_TAGS_TAXONOMY, __( 'Media-Tags', MEDIA_TAGS_I18N_DOMAIN ), 'post_tags_meta_box', null, 'side', 'core', array( 'taxonomy' => MEDIA_TAGS_TAXONOMY )); }
to
function mediatags_metaboxes() { add_meta_box('tagsdiv-' . MEDIA_TAGS_TAXONOMY, __( 'Media-Tags', MEDIA_TAGS_I18N_DOMAIN ), 'post_tags_meta_box', 'attachment', 'side', 'core', array( 'taxonomy' => MEDIA_TAGS_TAXONOMY )); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘remove meta boxes from other post types’ is closed to new replies.