Hook into after the user profile page is shown before the submit button. This is useful for adding additional fields or logic towards the end of the profile page.


/**
 * Add fields towards the end of the user profile page.
 *
 * @since 2.3.0
 *
 * @see pmpro_member_profile_edit_form
 *
 * @param WP_User $current_user The current WP_User object.
 */
do_action( 'pmpro_show_user_profile', $current_user );

Parameters

$current_user
WP_User

Source

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

View in Source Code