Viewing 1 replies (of 1 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    Copy the profile-form.php into your theme’s directory and wrap the fields in a simple conditional statement:

    <?php if ( current_user_can( 'manage_options' ) ) : ?>
    <!-- Fields here -->
    <?php endif; ?>
Viewing 1 replies (of 1 total)

The topic ‘Hide user profile fields based on user role’ is closed to new replies.