Filter to hide meta box doesn’t work
-
It looks like some of the hook/filters doesn’t work in this list:
https://github.com/MyThemeShopTeam/WP-Review/blob/master/filter-list.phpfor example, we are trying to hide certain meta boxes in a theme and it won’t take effect:
function mts_wp_review_hide_item_metabox_fields( $fields ) { unset( $fields['location'], $fields['fontcolor'], $fields['bordercolor'] ); // Or remove all (except features which can't be removed) with: // $fields = array(); return $fields; } add_filter( 'wp_review_metabox_item_fields', 'mts_wp_review_hide_item_metabox_fields' );
can you assist with this?
Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Filter to hide meta box doesn’t work’ is closed to new replies.