bbp_get_wp_query()

Get the $wp_query global without needing to declare it everywhere


Description Description


Return Return

(WP_Roles)


Top ↑

Source Source

File: includes/core/abstraction.php

function bbp_get_wp_query() {
	return bbp_get_global_object( 'wp_query', 'WP_Query' );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.