There are fields that are in the the user profile that I do not need such as "Website" and "Biographical Info"...

I found a JS function to use to hide the fields from this answer (link), but I'm not sure where to implement it without changing the core files.

jQuery(document).ready( function($) {

You have the JS part down, in order to have this script run, you can use the add_action function and hook it to the admin_head. This will run your custom JS script in the header of the wp-admin area. Below is the code that you can add to your child theme's function.php file.

I've added a rule to only implement this JS function to the related profile pages such as profile.php, user-edit.php, and user-new.php so you won't see it there. Also, I prefer to use hide() instead of remove() because if you were to remove a required field (ex: Nickname) instead of hiding it, you will have trouble saving your profile. See this link for the differences.

function wpse_238281_hide_profile_fields() { // Hide unused fields from user profile
    global $pagenow;
    $page = array(
    if ( in_array( $pagenow, $page, true ) ) {
        <script type="text/javascript">
            jQuery(document).ready(function($) {
            } );

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.