bp_get_group_invite_item_id

The BuddyPress bp get group invite item id function.

Description

(mixed|void) bp_get_group_invite_item_id(); 

Returns (mixed|void)


Usage

  1. if ( !function_exists( 'bp_get_group_invite_item_id' ) ) { 
  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_invite_item_id(); 
  7.  

Defined (1)

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

/bp-groups/bp-groups-template.php  
  1. function bp_get_group_invite_item_id() { 
  2. global $invites_template; 
  3.  
  4. /** 
  5. * Filters the group invite item ID. 
  6. * @since 1.1.0 
  7. * @param string $value Group invite item ID. 
  8. */ 
  9. return apply_filters( 'bp_get_group_invite_item_id', 'uid-' . $invites_template->invite->user->id );