Functions |
Description |
---|---|
bbp_set_theme_compat_active() |
Sets true/false if page is currently inside theme compatibility |
bbp_set_theme_compat_original_template() |
Set the theme compat original_template global |
bbp_set_theme_compat_template() |
Set the theme compat template global |
bbp_set_theme_compat_templates() |
Set the theme compat templates global |
bbp_set_user_role() |
Return a user’s main role |
bbp_settings_integration() |
Integrate settings into existing WordPress pages |
bbp_setup_akismet() |
Loads Akismet inside the Forums global class |
bbp_setup_current_user() |
Setup the currently logged-in user |
bbp_setup_globals() |
Setup globals AFTER includes |
bbp_setup_option_filters() |
Add filters to each Forums option and allow them to be overloaded from inside the $bbp->options array. |
bbp_setup_theme() |
The main action used for executing code before the theme has been setup |
bbp_setup_theme_compat() |
Setup the default theme compat theme |
bbp_setup_updater() |
Setup the Forums updater |
bbp_setup_user_option_filters() |
Add filters to each Forums option and allow them to be overloaded from inside the $bbp->options array. |
bbp_show_lead_topic() |
The plugin version of Forums comes with two topic display options: – Traditional: Topics are included in the reply loop (default) – New Style: Topics appear as “lead” posts, ahead of replies |
bbp_show_on_root() |
Return the search slug |
bbp_single_forum_description() |
Output a fancy description of the current forum, including total topics, total replies, and last activity. |
bbp_single_topic_description() |
Output a fancy description of the current topic, including total topics, total replies, and last activity. |
bbp_spam_reply() |
Marks a reply as spam |
bbp_spam_topic() |
Marks a topic as spam |
bbp_split_topic_count() |
Fix counts on topic split |
bbp_split_topic_form_fields() |
Split topic form fields |
bbp_split_topic_handler() |
Split topic handler |
bbp_stick_topic() |
Sticks a topic to a forum or front |
bbp_subscriptions_handler() |
Handles the front end subscribing and unsubscribing topics |
bbp_subscriptions_permalink() |
Output the link to the user’s subscriptions page (profile page) |
bbp_suppress_private_author_link() |
Replace forum author details for users that cannot view them. |
bbp_suppress_private_forum_meta() |
Replace forum meta details for users that cannot view them. |
bbp_tab_index() |
Output the current tab index of a given form |
bbp_template_include() |
The main filter used for theme compatibility and displaying custom Forums theme files. |
bbp_template_include_theme_compat() |
Reset main query vars and filter ‘the_content’ to output a Forums template part as needed. |
bbp_template_include_theme_supports() |
Possibly intercept the template being loaded |
bbp_template_notices() |
Display possible errors & messages inside a template file |
bbp_template_redirect() |
The main action used for redirecting Forums theme actions that are not permitted by the current_user |
bbp_the_content() |
Output a textarea or TinyMCE if enabled |
bbp_the_forum() |
Loads up the current forum in the loop |
bbp_the_reply() |
Loads up the current reply in the loop |
bbp_the_search_result() |
Loads up the current search result in the loop |
bbp_the_topic() |
Loads up the current topic in the loop |
bbp_theme_compat_reset_post() |
This fun little function fills up some WordPress globals with dummy data to stop your average page template from complaining about it missing. |
bbp_thread_replies() |
Are replies threaded |
bbp_thread_replies_depth() |
Maximum reply thread depth |
bbp_time_since() |
Output formatted time to display human readable time difference. |
bbp_title() |
Custom page title for Forums pages |
bbp_title_breadcrumb() |
Output the page title as a breadcrumb |
bbp_title_max_length() |
Output the maximum length of a title |
bbp_toggle_reply_handler() |
Handles the front end spamming/unspamming and trashing/untrashing/deleting of replies |
bbp_toggle_topic_handler() |
Handles the front end opening/closing, spamming/unspamming, sticking/unsticking and trashing/untrashing/deleting of topics |
bbp_tools_admin_tabs() |
Output the tabs in the admin area |
bbp_tools_modify_menu_highlight() |
This tells WP to highlight the Tools > Forums menu item, regardless of which actual Forums Tools screen we are on. |