Perform an action when a profile field is edited on the user profile page on the front-end.


/**
 * Update specific user fields after editing.
 *
 * @since 2.3.0
 *
 * @see pmpro_member_profile_edit_form
 *
 * @param int $user_id The user ID.
 */
do_action( 'pmpro_personal_options_update', $current_user->ID );

Parameters

$user_id
integer

Source

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

View in Source Code