Open tw2113 opened 2 years ago
Meant to go alongside the frontend profile link we already provide, only this goes to the associated listing shown at /wp-admin/users.php?page=bp-signups and the specific signup for the person.
Similar to this:
$user = get_user_by( 'ID', $user_id ); $signup = BP_Signup::get( [ 'user_email' => $user->user_email ] ); $activate_link = add_query_arg( array( 'page' => 'bp-signups', 'signup_id' => $signup['signups'][0]->id, 'action' => 'activate', ), bp_get_admin_url( 'users.php' ) ); printf( '<p><a href="%s">Signup Profile</a></p>', $activate_link ) ;
Original request: https://wordpress.org/support/topic/member-request-profile-details/
Meant to go alongside the frontend profile link we already provide, only this goes to the associated listing shown at /wp-admin/users.php?page=bp-signups and the specific signup for the person.
Similar to this: