• Is there a hook to hide the Personal Options in the User Profile? My setup with the User Profile would look hot with RegisterPlus if I could only get rid of the “Visual Editor” option, “Admin Color Scheme,” and “Keyboard Shortcuts.” I don’t care if they’re still there, as long as they aren’t visible.

    I wish it were as easy as using a custom stylesheet on the Dashboard (which I have, at the moment), but those options aren’t enclosed by a div with a class/id I can target with display: none

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Daniel Quinn

    (@djquinn)

    Any ideas?

    Thread Starter Daniel Quinn

    (@djquinn)

    Surely there must be a hook.

    I would love to know this also!

    I just found a plugin that does a LOT more than this, but it looks like it has found a way to remove those profile options.

    I haven’t dug through the code to find the hooks, but I imagine it is in there.

    A way to achieve this would be to add the code yourself.

    But be aware that if you update and this file was modified you will need to add it once more.

    In wp-admin > find user-edit.php
    on line 190 you have

    <h3><?php _e('Personal Options'); ?></h3>

    Insert

    <div style="display:none;">

    before that line.

    and on line 233 right before

    <?php
    if ( $is_profile_page )
    do_action('profile_personal_options', $profileuser);
    ?>

    add your closing div.

    That all, your options will now be hidden from others. (and you)
    You could always add a conditional comment that would check if it’s an admin or not.

    This was tested only on WP 2.7.1.

    Cheers.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide “Personal Options” in User Profile’ is closed to new replies.