Yoast SEO
[Plugin: WordPress SEO by Yoast] Removing the Meta Box (2 posts)

  1. Marcel Bootsman
    Posted 4 years ago #

    With the following code I am rermoving the Yoast Metabox widget, sorry Joost ;)

    function remove_dashboard_meta_boxes(){
      global $wp_meta_boxes;
      remove_meta_box('yoast_db_widget', 'dashboard', 'normal');
    if (!current_user_can('edit_posts')) {
        add_action('wp_dashboard_setup', 'remove_dashboard_meta_boxes');

    As you can see, I've commented the unset line. That should work, but it doesn't. It works for other widgets..

    Can anyone clarify?


  2. tempor
    Posted 4 years ago #

    I cannot help concerning the code you have posted but if you wish to completelly remove yoast metaboxes (from his other plugins also), why dont you try this plugin:

    Yoast Remove

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic