bp_actions

Fire the 'bp_actions' action, which runs just before rendering.

Description

bp_actions(); 

Attach potential template actions, such as catching form requests or routing custom URLs.


Usage

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

Defined (1)

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

/bp-core/bp-core-dependency.php  
  1. function bp_actions() { 
  2.  
  3. /** 
  4. * Fires inside the 'bp_actions' function, which runs just before rendering. 
  5. * @since 1.5.0 
  6. */