Namespaces: global |
Description |
|---|---|
| bbp_set_current_user_default_role() |
Add the default role to the current user if needed |
| bbp_get_user_role_map() |
Return a map of WordPress roles to Forums roles. Used to automatically grant appropriate Forums roles to WordPress users that wouldn’t already have a role in the forums. Also guarantees WordPress admins get the Keymaster role. |
| bbp_is_user_spammer() |
Checks if the user has been marked as a spammer. |
| bbp_make_spam_user() |
Mark a users topics and replies as spam when the user is marked as spam |
| bbp_make_ham_user() |
Mark a users topics and replies as spam when the user is marked as spam |
| bbp_set_user_role() |
Return a user’s main role |
| bbp_get_user_role() |
Return a user’s forums role |
| bbp_current_user_can_publish_topics() |
Check if the current user can publish topics |
| bbp_current_user_can_publish_forums() |
Check if the current user can publish forums |
| bbp_current_user_can_publish_replies() |
Check if the current user can publish replies |