Functions |
Description |
---|---|
bbp_get_user_reply_count() |
Return a users reply count |
bbp_get_user_reply_count_raw() |
Return the raw database count of replies by a user |
bbp_get_user_rewrite_id() |
Return the unique ID for user profile rewrite rules |
bbp_get_user_role() |
Return a user’s forums role |
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_get_user_slug() |
Return the single user slug |
bbp_get_user_subscribe_link() |
Return the link to subscribe/unsubscribe from a forum or topic |
bbp_get_user_subscribed_forum_ids() |
Get a user’s subscribed forum ids |
bbp_get_user_subscribed_topic_ids() |
Get a user’s subscribed topics’ ids |
bbp_get_user_subscriptions() |
Get a user’s subscribed topics |
bbp_get_user_subscriptions_rewrite_id() |
Return the unique ID for user caps rewrite rules |
bbp_get_user_subscriptions_slug() |
Return the single user subscriptions slug |
bbp_get_user_topic_count() |
Return a users reply count |
bbp_get_user_topic_count_raw() |
Return the raw database count of topics by a user |
bbp_get_user_topic_subscriptions() |
Get a user’s subscribed topics |
bbp_get_user_topics_created_url() |
Return the link to the user’s topics |
bbp_get_user_topics_rewrite_id() |
Return the unique ID for user topics rewrite rules |
bbp_get_user_topics_started() |
Get the topics that a user created |
bbp_get_version() |
Return the Forums version |
bbp_get_view_all() |
If current user can and is vewing all topics/replies |
bbp_get_view_id() |
Get the view id |
bbp_get_view_query_args() |
Return the view’s query arguments |
bbp_get_view_rewrite_id() |
Return the unique ID for topic view rewrite rules |
bbp_get_view_slug() |
Return the topic view slug |
bbp_get_view_title() |
Get the view name aka title |
bbp_get_view_url() |
Return the view url |
bbp_get_views() |
Get the registered views |
bbp_get_wp_login_action() |
Return the login form action url |
bbp_get_wp_roles() |
Get the $wp_roles global without needing to declare it everywhere |
bbp_group_forums_root_id() |
Output the grop forums root parent forum id |
bbp_group_is_admin() |
Is the current user an admin of the current group |
bbp_group_is_banned() |
Is the current user banned from the current group |
bbp_group_is_creator() |
Is the current user the creator of the current group |
bbp_group_is_member() |
Is the current user a member of the current group |
bbp_group_is_mod() |
Is the current user a moderator of the current group |
bbp_has_errors() |
Check if error messages exist in queue |
bbp_has_forum_thumbnail() |
Check if given forum has thumbnail available |
bbp_has_forums() |
The main forum loop. |
bbp_has_replies() |
The main reply loop. WordPress makes this easy for us |
bbp_has_search_results() |
The main search loop. WordPress does the heavy lifting. |
bbp_has_topics() |
The main topic loop. WordPress makes this easy for us |
bbp_head() |
Add our custom head action to wp_head |
bbp_hide_forum() |
Mark the forum as hidden |
bbp_include_root_slug() |
Are we including the root slug in front of forum pages? |
bbp_includes() |
Include files |
bbp_init() |
Initialize any code after everything has been loaded |
bbp_insert_forum() |
A wrapper for wp_insert_post() that also includes the necessary meta values for the forum to function properly. |
bbp_insert_reply() |
A wrapper for wp_insert_post() that also includes the necessary meta values for the reply to function properly. |
bbp_insert_topic() |
A wrapper for wp_insert_post() that also includes the necessary meta values for the topic to function properly. |
bbp_is_activation() |
Determine if Forums is being activated |