From: Steve Sutton Date: Wed, 1 Jun 2016 15:32:18 +0000 (-0400) Subject: Remove the yoast Seo from dashboard. X-Git-Tag: v1.0.9^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=b453a70b9b6935a628a9c451e13decaa0fb20fc2;p=WP-Themes%2Fthinkdunes.git Remove the yoast Seo from dashboard. --- diff --git a/functions.php b/functions.php index d5ebf12..30c09fc 100644 --- a/functions.php +++ b/functions.php @@ -253,4 +253,10 @@ function front_end_blank_credentials( $login, $username, $password ) { } } +// Remove Yoast SEO Dashboard Widget +function remove_wpseo_dashboard_overview() { + remove_meta_box( 'wpseo-dashboard-overview', 'dashboard', 'normal' ); +} + +add_action('wp_dashboard_setup', 'remove_wpseo_dashboard_overview' ); ?> diff --git a/style.css b/style.css index 46bf975..85b41b6 100644 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: ThinkDunes Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme for ThinkDunes -Version: 1.0.4 +Version: 1.0.9 */