bb_do_action

The BuddyPress bb do action function.

Description

bb_do_action( $tag ); 

Parameters (1)

0. $tag
The tag.

Usage

  1. if ( !function_exists( 'bb_do_action' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php'; 
  3.  
  4. // The tag. 
  5. $tag = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bb_do_action($tag); 
  9.  

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php  
  1. function bb_do_action($tag) { 
  2. bb_log_deprecated('function', __FUNCTION__, 'do_action'); 
  3. $args = func_get_args(); 
  4. return call_user_func_array('do_action', $args);