[Resolved] Remove the “bio” section from user profile?
I’m using a plugin (Cimy Extra User Fields) to customize my users’ profile pages, and don’t want the standard WordPress user bio section to appear in the profile edit screen. After combing through the codex, I *think* I understand that this can be done by adding some code to my functions.php file (I do NOT want to modify the core files directly, not when it can be done via a plugin or functions.php). Specifically, I was thinking off using an action or filter hook to remove the following section from wp-admin/user-edit.php:
<h3><?php IS_PROFILE_PAGE ? _e('About Yourself') : _e('About the user'); ?></h3> <table class="form-table"> <tr> <th><label for="description"><?php _e('Biographical Info'); ?></label></th> <td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description ?></textarea><br /> <span class="description"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></span></td> </tr>
However, this is where my php/WP coding skill ends. I can’t quite seem to be able to figure out how to actually accomplish this theoretical filter. Can someone point me in the right direction? Or if it’s not too much trouble, actually give a sample function that will filter this content?
Thanks in advance,
- The topic ‘[Resolved] Remove the “bio” section from user profile?’ is closed to new replies.