WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Remove WordPress SEO Settings area from User profile page? (4 posts)

  1. housebg
    Member
    Posted 2 years ago #

    I would like to remove the WordPress SEO Settings area, with it's two fields, from the User profile page. I really don't want my editors and contributors to see or play with this :-)

    Is there a filter I can pass in my functions to remove this display from the user profile page?

    Thanks in advance!

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. rob_teamworks
    Member
    Posted 1 year ago #

    I'd love to know this aswell.

  3. ecoevolver
    Member
    Posted 1 year ago #

    me as well. Please help Yoast!

  4. bniblett2013
    Member
    Posted 1 year ago #

    I just put this together real quick, hope it helps:

    # 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' ) );

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.