Skip to content

Instantly share code, notes, and snippets.

@tonykwon
Created September 11, 2014 21:50
Show Gist options
  • Save tonykwon/2cf8ff3339c527016792 to your computer and use it in GitHub Desktop.
Save tonykwon/2cf8ff3339c527016792 to your computer and use it in GitHub Desktop.
Remove WordPress SEO settings from User Profile Page
# global
global $wpseo_admin;
# this removes when editing 'YOUR PROFILE'
remove_action( 'show_user_profile', array( $wpseo_admin, 'user_profile' ) );
# this removes when editing 'EDIT PROFILE'
remove_action( 'edit_user_profile', array( $wpseo_admin, 'user_profile' ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment