bbp_request

Piggy back filter for WordPress's 'request' filter.

Description

(array) bbp_request( (array) $query_vars = array() ); 

Returns (array)

Parameters (1)

0. $query_vars — Optional. (array) => array()
The query vars.

Usage

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

Defined (1)

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

/includes/core/sub-actions.php  
  1. function bbp_request( $query_vars = array() ) { 
  2. return apply_filters( 'bbp_request', $query_vars );