bbp_template_redirect

The main action used for redirecting bbPress theme actions that are not permitted by the current_user.

Description

bbp_template_redirect(); 

Usage

  1. if ( !function_exists( 'bbp_template_redirect' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/core/sub-actions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bbp_template_redirect(); 
  7.  

Defined (1)

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

/includes/core/sub-actions.php  
  1. function bbp_template_redirect() { 
  2. do_action( 'bbp_template_redirect' );