Functions |
Description |
---|---|
bbp_encode_normal_callback() |
Callback to replace normal HTML tags in a content string |
bbp_enqueue_script() |
Enqueue a script from the highest priority location in the template stack. |
bbp_enqueue_scripts() |
Enqueue Forums specific CSS and JS |
bbp_enqueue_style() |
Enqueue a script from the highest priority location in the template stack. |
bbp_exclude_forum_ids() |
Returns a meta_query that either includes or excludes hidden forum IDs from a query. |
bbp_favorites_handler() |
Handles the front end adding and removing of favorite topics |
bbp_favorites_permalink() |
Output the link to the user’s favorites page (profile page) |
bbp_filter_anonymous_post_data() |
Filter anonymous post data |
bbp_filter_blog_editable_roles() |
Removes the Forums roles from the editable roles array |
bbp_filter_get_user_option() |
Filter default options and allow them to be overloaded from inside the $bbp->user_options array. |
bbp_filter_is_single_user() |
Filter the Forums is_single_user function with BuddyBoss equivalent |
bbp_filter_is_user_home() |
Filter the Forums is_user_home function with BuddyBoss equivalent |
bbp_filter_kses() |
Custom kses filter for forum topics and replies, for filtering incoming data |
bbp_filter_modify_page_title() |
Add the topic title to the |
bbp_filter_notifications_get_registered_components() |
Filter registered notifications components, and add ‘forums’ to the queried ‘component_name’ array. |
bbp_filter_sample_permalink() |
Filter sample permalinks so that certain languages display properly. |
bbp_filter_user_id() |
Filter the current Forums user ID with the current BuddyBoss user ID |
bbp_filter_user_roles_option() |
Helper function to add filter to option_wp_user_roles |
bbp_find_mentions() |
Searches through the content to locate usernames, designated by an @ sign. |
bbp_find_mentions_pattern() |
Set the pattern used for matching usernames for mentions. |
bbp_fix_forums_media() |
Fix forums media |
bbp_fix_post_author() |
Fix post author id on post save |
bbp_footer() |
Add our custom head action to wp_head |
bbp_force_comment_status() |
Force comments_status to ‘closed’ for Forums post types |
bbp_form_forum_content() |
Output the value of forum content field |
bbp_form_forum_parent() |
Output value of forum parent |
bbp_form_forum_status_dropdown() |
Output value forum status dropdown |
bbp_form_forum_subscribed() |
Output checked value of forum subscription |
bbp_form_forum_title() |
Output the value of forum title field |
bbp_form_forum_type() |
Output value of forum type |
bbp_form_forum_type_dropdown() |
Output value forum type dropdown |
bbp_form_forum_visibility() |
Output value of forum visibility |
bbp_form_forum_visibility_dropdown() |
Output value forum visibility dropdown |
bbp_form_option() |
Output settings API option |
bbp_form_reply_content() |
Output the value of reply content field |
bbp_form_reply_edit_reason() |
Output the value of the reply edit reason |
bbp_form_reply_log_edit() |
Output checked value of reply log edit field |
bbp_form_reply_to() |
Output the value of the reply to field |
bbp_form_slug_conflict_check() |
Used to check if a Forums slug conflicts with an existing known slug. |
bbp_form_topic_content() |
Output the value of topic content field |
bbp_form_topic_edit_reason() |
Output the value of the topic edit reason |
bbp_form_topic_forum() |
Output value of topic forum |
bbp_form_topic_log_edit() |
Output checked value of topic log edit field |
bbp_form_topic_status_dropdown() |
Output value topic status dropdown |
bbp_form_topic_subscribed() |
Output checked value of topic subscription |
bbp_form_topic_tags() |
Output value of topic tags field |
bbp_form_topic_title() |
Output the value of topic title field |
bbp_form_topic_type_dropdown() |
Displays topic type select box (normal/sticky/super sticky) |
bbp_format_buddypress_notifications() |
Format the BuddyBar/Toolbar notifications |
bbp_format_revision_reason() |
Formats the reason for editing the topic/reply. |