White Label CMS
Favorites Menu && Post Meta Boxes (1 post)

  1. mywebgrocer
    Posted 5 years ago #

    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
        	$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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • White Label CMS
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic