bbp_is_valid_role( string $role = '' )

Check if a role string is valid


Description Description


Parameters Parameters

$role

(Optional)

Default value: ''


Top ↑

Return Return

(bool) True if role is valid. False if role is not valid.


Top ↑

Source Source

File: includes/users/capabilities.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.5 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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