Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remove Yoast SEO Dashboard Widget
<?php
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/
/* Remove Yoast SEO Dashboard Widget
* Credit: Unknown
* Last Tested: Jun 16 2017 using Yoast SEO 4.9 on WordPress 4.8
*/
add_action('wp_dashboard_setup', 'remove_wpseo_dashboard_overview' );
function remove_wpseo_dashboard_overview() {
// In some cases, you may need to replace 'side' with 'normal' or 'advanced'.
remove_meta_box( 'wpseo-dashboard-overview', 'dashboard', 'side' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.