bbp_get_wp_roles()

Get the $wp_roles 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_roles() {
	return bbp_get_global_object( 'wp_roles', 'WP_Roles' );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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