Remove in User profil fields

Community Forums Forums General Discussion Remove in User profil fields

This topic is: not resolved

Tagged: , ,

This topic contains 3 replies, has 3 voices, and was last updated by  tasch3027 2 months, 3 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #76569

    DavSign
    Member

    Hi,

    How to remove “User Permissions”, “Author Archive Settings”, “Theme SEO
    Settings” and “Layout Settings” in User profil fields since admin ?

    Thanks you !

    #91165

    Susan
    Moderator
    Post count: 7991

    Since you posted this a while ago, I hope you were able to get a resolution to your issue. If not, please report back here, and I will try to assist, or escalate as appropriate.

    Thanks!


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #104400

    tasch3027
    Member
    Post count: 6

    Hi,

    have you found a solution ?

    thank you

    #104403

    tasch3027
    Member
    Post count: 6

    Hello,

    i’ve found a solution for all genesis user fields

    add_action( ‘admin_init’, ‘custom_remove_user_profile_fields’ );

    function custom_remove_user_profile_fields(){
    remove_action( ‘show_user_profile’, ‘genesis_user_options_fields’ );
    remove_action( ‘edit_user_profile’, ‘genesis_user_options_fields’ );
    remove_action( ‘show_user_profile’, ‘genesis_user_archive_fields’ );
    remove_action( ‘edit_user_profile’, ‘genesis_user_archive_fields’ );
    remove_action( ‘show_user_profile’, ‘genesis_user_seo_fields’ );
    remove_action( ‘edit_user_profile’, ‘genesis_user_seo_fields’ );
    remove_action( ‘show_user_profile’, ‘genesis_user_layout_fields’ );
    remove_action( ‘edit_user_profile’, ‘genesis_user_layout_fields’ );
    }

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.