bp_get_group_request_reject_link

The BuddyPress bp get group request reject link function.

Description

(mixed|void) bp_get_group_request_reject_link(); 

Returns (mixed|void)


Usage

  1. if ( !function_exists( 'bp_get_group_request_reject_link' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-groups/bp-groups-template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_get_group_request_reject_link(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-groups/bp-groups-template.php  
  1. function bp_get_group_request_reject_link() { 
  2. global $requests_template; 
  3.  
  4. /** 
  5. * Filters the URL to use to reject a membership request. 
  6. * @since 1.2.6 
  7. * @param string $value URL to use to reject a membership request. 
  8. */ 
  9. return apply_filters( 'bp_get_group_request_reject_link', wp_nonce_url( bp_get_group_permalink( groups_get_current_group() ) . 'admin/membership-requests/reject/' . $requests_template->request->membership_id, 'groups_reject_membership_request' ) );