Functions |
Description |
---|---|
_bbp_filter_locale() |
Deprecated locale filter |
_bbp_forum_query_usort_subforum_ids() |
Callback to sort forum ID’s based on last active time |
_bbp_has_forums_query() |
Deprecated forums query filter |
_bbp_has_replies_query() |
Deprecated replies query filter |
_bbp_has_replies_where() |
Used by bbp_has_replies() to add the lead topic post to the posts loop |
_bbp_has_topics_query() |
Deprecated topics query filter |
_bbp_reinit_dynamic_roles() |
This is necessary because in a few places (noted below) WordPress initializes a blog’s roles directly from the database option. When this happens, the $wp_roles global gets flushed, causing a user to magically lose any dynamically assigned roles or capabilities when $current_user in refreshed. |
_bp_core_inject_bp_widget_css_class() |
Injects specific BuddyPress CSS classes into a widget sidebar. |
_bp_core_moment_js_config_footer() |
Print moment.js config in page footer. |
_bp_enforce_bp_moderate_cap_for_admins() |
Temporary implementation of ‘bp_moderate’ cap. |
_bp_get_user_meta_last_activity_warning() |
Backward compatibility for ‘last_activity’ usermeta fetching. |
_bp_maybe_remove_redirect_canonical() |
Remove WP’s canonical redirect when we are trying to load BP-specific content. |
_bp_maybe_remove_rel_canonical() |
Remove WP’s rel=canonical HTML tag if we are trying to load BP-specific content. |
_bp_nav_menu_sort() |
Sort BuddyPress nav menu items by their position property. |
_bp_profile_search_admin_js() |
Enqueue BuddyBoss Profile Search JS. |
_bp_ps_field_select() |
Output BuddyBoss Profile Search select field. |
_bp_ps_filter_select() |
Output BuddyBoss Profile Search filtered select field. |
_bp_rehook_maybe_redirect_404() |
Rehook maybe_redirect_404() to run later than the default. |
_bp_strip_spans_from_title() |
Strip the span count of a menu item or of a title part. |
_bp_update_user_meta_last_activity_warning() |
Backward compatibility for ‘last_activity’ usermeta setting. |
add_blog_option() |
Add blog option. |
albums_check_album_access() |
Check album access for current user or guest |
albums_get_album() |
Fetch a single album object. |
array_insert_after() |
Insert a value or key/value pair after a specific key in an array. If key doesn’t exist, value is appended to the end of the array. |
bb_global_search_default_items_to_search() |
Get the default items to search though, if nothing has been selected in settings. |
bb_group_wp_admin_bar_updates_menu() |
Learndash Plugin updates Group Page admin bar Edit link to dashboard home page instead of the platform groups page. |
bb_gs_create_group_searchstring() |
Generate search string on group update. |
bb_gs_create_searchstring() |
Generate search string on profile update |
bb_ld_group_archive_backend_slug_print() |
Filter to fix conflict between Learndash Plugin groups archive page and Platform Groups page. |
bb_ld_group_archive_slug_change() |
Filter to fix conflict between Learndash Plugin groups archive page and Platform Groups page. |
bb_update_to_1_2_3() |
1.2.3 update routine. |
bb_update_to_1_3_5() |
1.3.5 update routine. |
bbp_activation() |
Runs on Forums activation |
bbp_add_caps() |
Adds capabilities to WordPress user roles. |
bbp_add_error() |
Adds an error message to later be output in the theme |
bbp_add_forum_id_to_group() |
Remove a forum from a group |
bbp_add_forums_roles() |
Add the Forums roles to the $wp_roles global. |
bbp_add_group_id_to_forum() |
Add a group to a forum |
bbp_add_options() |
Add default options |
bbp_add_permastructs() |
Add the Forums-specific permalink structures |
bbp_add_rewrite_rules() |
Add the Forums-specific rewrite rules |
bbp_add_rewrite_tags() |
Add the Forums-specific rewrite tags |
bbp_add_roles() |
Adds Forums-specific user roles. |
bbp_add_template_stack_locations() |
Add template locations to template files being searched for |
bbp_add_user_favorite() |
Add a topic to user’s favorites |
bbp_add_user_forum_subscription() |
Add a forum to user’s subscriptions |
bbp_add_user_options() |
Add default user options |
bbp_add_user_subscription() |
Add a topic to user’s subscriptions |
bbp_add_user_topic_subscription() |
Add a topic to user’s subscriptions |
bbp_add_view_all() |
Append ‘view=all’ to query string if it’s already there from referer |