Filters the WP_User object fields shown on the frontend Member Profile Edit page.


/**
 * Filters the WP_User object fields shown on the frontend Member Profile Edit page.
 *
 * @since 2.3.4
 *
 * @param array  $user_fields An array of fields in the format: $field_key => $label.
 */
apply_filters( 'pmpro_member_profile_edit_user_object_fields', array( $user_fields ) );

The filter can only be used to remove “text” field types at this time.

Parameters

$user_fields
array

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/profile.php

View in Source Code

Related Articles and Recipes

Remove or Rename User Fields on the Member Profile Edit Page By Kimberly Coleman