bp_group_member_demote_link( int $user_id )

Output a URL for demoting a user to member.


Parameters Parameters

$user_id

(int) (Required) ID of the member to demote. Default: current member in a member loop.


Source Source

File: bp-groups/bp-groups-template.php

function bp_group_member_demote_link( $user_id = 0 ) {
	global $members_template;

	if ( !$user_id ) {
		$user_id = $members_template->member->user_id;
	}

	echo bp_get_group_member_demote_link( $user_id );
}


Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.