bp_get_group_request_accept_link()
Get the accept group membership link.
Description
Return
(mixed|void)
Source
File: bp-groups/bp-groups-template.php
function bp_get_group_request_accept_link() { global $requests_template; /** * Filters the URL to use to accept a membership request. * * @since BuddyPress 1.2.6 * * @param string $value URL to use to accept a membership request. */ return apply_filters( 'bp_get_group_request_accept_link', wp_nonce_url( trailingslashit( bp_get_group_permalink( groups_get_current_group() ) . 'admin/membership-requests/accept/' . $requests_template->request->membership_id ), 'groups_accept_membership_request' ) ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.2.6 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.