WordPress.org

Ready to get started?Download WordPress

Forums

White Label CMS
Favorites Menu && Post Meta Boxes (2 posts)

  1. mywebgrocer
    Member
    Posted 3 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
        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.

  2. Video User Manuals
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,

    Thanks for this. We are working on the next version and we will include this.

    Cheers

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic