bp_get_group_creation_form_action

The BuddyPress bp get group creation form action function.

Description

(mixed|void) bp_get_group_creation_form_action(); 

Returns (mixed|void)


Usage

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

Defined (1)

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

/bp-groups/bp-groups-template.php  
  1. function bp_get_group_creation_form_action() { 
  2. $bp =buddypress); 
  3.  
  4. if ( !bp_action_variable( 1 ) ) { 
  5. $keys = array_keys( $bp->groups->group_creation_steps ); 
  6. $bp->action_variables[1] = array_shift( $keys ); 
  7.  
  8. /** 
  9. * Filters the group creation form action. 
  10. * @since 1.1.0 
  11. * @param string $value Action to be used with group creation form. 
  12. */