bbp_get_wp_query()
Get the $wp_query
global without needing to declare it everywhere
Description Description
Return Return
(WP_Roles)
Source Source
File: includes/core/abstraction.php
function bbp_get_wp_query() { return bbp_get_global_object( 'wp_query', 'WP_Query' ); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |