Created
September 11, 2014 21:50
-
-
Save tonykwon/2cf8ff3339c527016792 to your computer and use it in GitHub Desktop.
Remove WordPress SEO settings from User Profile Page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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