bp_request( array $query_vars = array() )
Fire the ‘bp_request’ filter, a piggy-back of WP’s ‘request’.
Description
See also
- WP::parse_request(): for a description of parameters.
Parameters
- $query_vars
-
(Optional) See WP::parse_request().
Default value: array()
Return
(array) $query_vars See WP::parse_request().
Source
File: bp-core/bp-core-dependency.php
function bp_request( $query_vars = array() ) { /** * Filters the query_vars for the current request. * * @since BuddyPress 1.7.0 * * @param array $query_vars Array of query variables. */ return apply_filters( 'bp_request', $query_vars ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.7.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.