BuddyPress-Registration-Options icon indicating copy to clipboard operation
BuddyPress-Registration-Options copied to clipboard

Add link to pending Signup Page for each user.

Open tw2113 opened this issue 3 years ago • 1 comments

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
) ;

tw2113 avatar Jul 08 '22 23:07 tw2113

Original request: https://wordpress.org/support/topic/member-request-profile-details/

tw2113 avatar Jul 08 '22 23:07 tw2113