Functions |
Description |
|---|---|
| bp_core_install_private_messaging() |
Install database tables for the Messages component. |
| bp_core_install_signups() |
Install the signups table. |
| bp_core_is_main_site() |
bp_core_is_main_site |
| bp_core_is_multisite() | |
| bp_core_is_root_component() |
Checks to see if a component’s URL should be in the root, not under a member page: eg: http://example.com/groups/the-group NOT http://example.com/members/andy/groups/the-group You should be using bp_is_root_component(). |
| bp_core_is_user_deleted() |
bp_core_is_user_deleted( $user_id = 0 ) |
| bp_core_is_user_spammer() |
bp_core_is_user_spammer( $user_id = 0 ) |
| bp_core_iso8601_date() |
Output an ISO-8601 date from a date string. |
| bp_core_jquery_validate_scripts() |
Enqueues the jQuery validate js. |
| bp_core_learndash_bbpress_notices() |
Include plugin when plugin is activated |
| bp_core_learndash_certificates_enables() |
Check if there is any certificated created by the admin and if so then show the certificate tab or else hide the tab |
| bp_core_load_admin_bar() |
Handle the Toolbar/BuddyBar business. |
| bp_core_load_admin_bar_css() |
Handle the enqueueing of toolbar CSS. |
| bp_core_load_buddybar_css() |
Enqueue the BuddyBar CSS. |
| bp_core_load_buddypress_textdomain() |
Load the buddyboss translation file for current language. |
| bp_core_load_profile_search() |
Load main profile search module. |
| bp_core_load_template() |
Load a specific template file with fallback support. |
| bp_core_login_filter_shake_codes() |
Add our custom error code to WP login’s shake error codes. |
| bp_core_login_profile_dashboard_redirect() |
Redirect member to profile dashboard. |
| bp_core_login_redirect() |
When a user logs in, redirect him in a logical way. |
| bp_core_map_user_registration() |
Map a user’s WP display name to the XProfile fullname field, if necessary. |
| bp_core_mark_user_ham_admin() |
Hook to WP’s make_ham_user and run our custom BP spam functions. |
| bp_core_mark_user_spam_admin() |
Hook to WP’s make_spam_user and run our custom BP spam functions. |
| bp_core_maybe_hook_new_subnav_screen_function() |
For a given subnav item, either hook the screen function or generate redirect arguments, as necessary. |
| bp_core_maybe_install_signups() |
Check if the signups table needs to be created or upgraded. |
| bp_core_memberpress_the_content() |
Fix Memberpress Privacy for BuddyPress pages. |
| bp_core_members_shortlink_redirector() |
Members user shortlink redirector. |
| bp_core_menu_highlight_nav_menu_item() |
Adds current page CSS classes to the parent BP page in a WP Nav Menu. |
| bp_core_menu_highlight_parent_page() |
Adds current page CSS classes to the parent BP page in a WP Page Menu. |
| bp_core_modify_admin_menu_highlight() |
This tells WP to highlight the Settings > BuddyPress menu item, regardless of which actual BuddyPress admin screen we are on. |
| bp_core_moment_js_config() |
Return moment.js config. |
| bp_core_new_nav_default() |
Modify the default subnav item that loads when a top level nav item is clicked. |
| bp_core_new_nav_item() |
Add an item to the primary navigation of the specified component. |
| bp_core_new_subnav_item() |
Add an item to secondary navigation of the specified component. |
| bp_core_new_user_activity() |
Create a “became a registered user” activity item when a user activates his account. |
| bp_core_no_access() |
Redirect a user to log in for BP pages that require access control. |
| bp_core_no_access_wp_login_error() |
Add a custom BuddyPress no access error message to wp-login.php. |
| bp_core_number_format() |
Format numbers the BuddyPress way. |
| bp_core_on_directory_page_delete() |
Remove the entry from bp_pages when the corresponding WP page is deleted. |
| bp_core_parse_args_array() |
A utility for parsing individual function arguments into an array. |
| bp_core_parse_url() |
Parse url and get data about URL. |
| bp_core_plugins_loaded_callback() |
Load Plugin after plugin is been loaded |
| bp_core_print_admin_notices() |
Print admin messages to admin_notices or network_admin_notices. |
| bp_core_print_generation_time() |
Print the generation time in the footer of the site. |
| bp_core_process_spammer_status() |
Process a spammed or unspammed user. |
| bp_core_profile_completion_steps_options() |
Function will return the default fields groups and avatar/cover is enabled or not. |
| bp_core_profile_dashboard_non_logged_redirect() |
Redirect user to profile dashboard if not logged in. |
| bp_core_rap_the_content_filter() |
Wrap the content via the_content filter |
| bp_core_record_activity() |
Listener function for the logged-in user’s ‘last_activity’ metadata. |
| bp_core_redirect() |
Perform a status-safe wp_redirect() that is compatible with BP’s URI parser. |