Skip to content

Instantly share code, notes, and snippets.

@nschaeferhoff
Created November 17, 2017 10:57
Show Gist options
  • Save nschaeferhoff/5757bd60a27ceb226610a5883867d574 to your computer and use it in GitHub Desktop.
Save nschaeferhoff/5757bd60a27ceb226610a5883867d574 to your computer and use it in GitHub Desktop.
function remove_toolbar_items($wp_adminbar) {
$wp_adminbar->remove_node('wpseo-menu');
}
add_action('admin_bar_menu', 'remove_toolbar_items', 999);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment