[Plugin: White Label CMS] Favorites Menu && Post Meta Boxes
-
Please add native support for removing favorites menu items when choosing to hide their respective menu items from the admin menu.
This is how I remove items from the favorites menu:
add_filter('favorite_actions', 'remove_unwanted_favs'); function remove_unwanted_favs($actions) { // remove unwanted pages in favorites menu unset( $actions['edit.php?post_status=draft'], // drafts $actions['post-new.php'], // new post $actions['edit-comments.php'] // comments ); return $actions; }
Also, it would be great if you added support for removing the respective meta boxes from the Edit Post/Page screens as well. Currently I use a plugin called WP-CMS Post Control to accomplish this, although it seems like the feature is in the scope of this plugin as well.
- The topic ‘[Plugin: White Label CMS] Favorites Menu && Post Meta Boxes’ is closed to new replies.