Codex Home → Member Guide → Messages → Inbox
Messages → Inbox
This page shows all the private messages sent to you by registered members of site.
⇒ Next: Messages → Starred
⇐ Previous: Notifications → Read
⇐ Back to Member Guide
Codex Home → Member Guide → Messages → Inbox
Messages → Inbox
This page shows all the private messages sent to you by registered members of site.
⇒ Next: Messages → Starred
⇐ Previous: Notifications → Read
⇐ Back to Member Guide
Codex Home → Member Guide → Activity → Personal
Activity → Personal
This page is the record of all your activities throughout the site listed in chronological order. If you』re logged in, there』s a status update box before the activity stream where you can post what』s on your mind.
Filter to Show:
Everything (default)
Updates
New Sites (if on Multisite installation)
Posts
Comments
Friendships (if Friendships are enabled)
New Groups (if Groups are enabled)
Group Memberships (if Groups are enabled)
Group Updates (if Groups are enabled)
Topics (if bbPress is activated)
Replies (if bbPress is activated)
⇒ Next: Activity → Mentions
⇐ Back to Member Guide
Codex Home → Member Guide → Groups → Invitations
Groups → Invitations
This page shows a list of Groups where you have been invited to by a friend who is a member of the group. You have the option to accept or reject the invitation.
⇒ Next: Groups → Create
⇐ Previous: Groups → Memberships
⇐ Back to Member Guide
Codex Home → Member Guide → Messages → Sent
Messages → Sent
This page shows the list of Messages you have sent to other members of the site.
⇒ Next: Messages → Compose
⇐ Previous: Messages → Starred
⇐ Back to Member Guide
Codex Home → Member Guide → Groups → Memberships
Groups → Memberships
This page shows the list of Groups which you have joined.
⇒ Next: Groups → Invitations
⇐ Previous: Friends → Requests
⇐ Back to Member Guide
Codex Home → Member Guide → Messages → Compose
Messages → Compose
This page is where you compose a Message to any member of the site.
⇒ Next: Friends → Friendships
⇐ Previous: Messages → Sent
⇐ Back to Member Guide
Codex Home → BuddyPress Theme Development → BP Theme Compatibility and the WordPress Default Themes
BP Theme Compatibility and the WordPress Default Themes
BuddyPress is compatible with all of the WordPress Default Themes. This section will provide you with step-by-step tutorials to make all your BuddyPress pages conform with the layout you want using child themes.
Twenty Ten Theme
Twenty Eleven Theme
Twenty Twelve Theme
Twenty Thirteen Theme
Twenty Seventeen Theme
Codex Home → Developer Resources → BuddyPress Action Hook Sequence During Startup
BuddyPress Action Hook Sequence During Startup
When writing BuddyPress themes and plugins, it can be essential to know the sequence in which action hooks are invoked. The diagram below is especially useful during the site loading process, and will help you make better informed choices of actions to hook into for the loading and initialization of your plugin or theme.
The diagram is a visual representation of nested hook invocations during startup — from the moment a request gets to a WordPress site, to when BuddyPress (and other plugins) are fully loaded and the response is ready to be sent back to the browser. Names of the hooks being triggered are shown in green. Callback functions which have been registered to respond to the hooks, by plugins and the active theme, are shown in beige. BuddyPress hooks are prefixed by 『bp_『.
The text 『_NO_CALLBACK_『 is used for entries where the hook has no registered callback. Note that some registered callbacks shown below belong to other plugins and the active theme, to show the action sequence for a regularly configured home page.
Action HookRegistered Callback Function
muplugins_loaded_NO_CALLBACK_
registered_taxonomy_NO_CALLBACK_
registered_taxonomy_NO_CALLBACK_
registered_taxonomy_NO_CALLBACK_
registered_taxonomy_NO_CALLBACK_
registered_taxonomy_NO_CALLBACK_
registered_post_type_NO_CALLBACK_
registered_post_type_NO_CALLBACK_
registered_post_type_NO_CALLBACK_
registered_post_type_NO_CALLBACK_
registered_post_type_NO_CALLBACK_
load_textdomain_NO_CALLBACK_
load_textdomain_NO_CALLBACK_
plugins_loadedwp_maybe_load_widgets()
plugins_loadedwp_maybe_load_embeds()
plugins_loadedwpcf7_load_modules()
plugins_loadedjet_event_system_load_textdomain()
plugins_loadedwpcf7_set_request_uri()
plugins_loaded_wp_customize_include()
plugins_loadedbp_show_friends_register_widgets()
plugins_loadedbp_loaded()
bp_loadedbp_setup_components()
bp_setup_componentsbp_setup_core()
bp_core_setup_actions_NO_CALLBACK_
bp_core_loadedbp_core_load_buddypress_textdomain()
load_textdomain_NO_CALLBACK_
load_textdomain_NO_CALLBACK_
load_textdomain_NO_CALLBACK_
bp_setup_componentsbp_setup_activity()
bp_activity_setup_actions_NO_CALLBACK_
bp_setup_componentsbp_setup_blogs()
bp_blogs_setup_actions_NO_CALLBACK_
bp_setup_componentsbp_setup_forums()
bp_forums_setup_actions_NO_CALLBACK_
bp_setup_componentsbp_setup_friends()
bp_friends_setup_actions_NO_CALLBACK_
bp_setup_componentsbp_setup_groups()
bp_groups_setup_actions_NO_CALLBACK_
bp_setup_componentsbp_setup_messages()
bp_messages_setup_actions_NO_CALLBACK_
bp_setup_componentsbp_setup_notifications()
bp_notifications_setup_actions_NO_CALLBACK_
bp_setup_componentsbp_setup_settings()
bp_settings_setup_actions_NO_CALLBACK_
bp_setup_componentsbp_setup_xprofile()
bp_xprofile_setup_actions_NO_CALLBACK_
bp_setup_componentsbp_setup_members()
bp_members_setup_actions_NO_CALLBACK_
bp_loadedbp_include()
bp_include[BP_Core]->includes()
bp_include[BP_Activity_Component]->includes()
bp_activity_includes_NO_CALLBACK_
bp_include[BP_Blogs_Component]->includes()
bp_blogs_includes_NO_CALLBACK_
bp_include[BP_Forums_Component]->includes()
bp_forums_includes_NO_CALLBACK_
bp_include[BP_Friends_Component]->includes()
bp_friends_includes_NO_CALLBACK_
bp_include[BP_Groups_Component]->includes()
bp_groups_includes_NO_CALLBACK_
bp_include[BP_Messages_Component]->includes()
bp_messages_includes_NO_CALLBACK_
bp_include[BP_Notifications_Component]->includes()
bp_notifications_includes_NO_CALLBACK_
bp_include[BP_Settings_Component]->includes()
bp_settings_includes_NO_CALLBACK_
bp_include[BP_XProfile_Component]->includes()
bp_xprofile_includes_NO_CALLBACK_
bp_include[BP_Members_Component]->includes()
bp_members_includes_NO_CALLBACK_
bp_includebpa_init()
load_textdomain_NO_CALLBACK_
bpa_init_NO_CALLBACK_
bp_includebp_group_organizer_register_admin()
bp_includebp_activity_setup_akismet()
bp_includeetivite_bp_restrictgroups_init()
bp_loadedbp_setup_widgets()
bp_register_widgetsbp_core_register_widgets()
bp_register_widgetsbp_friends_register_widgets()
bp_register_widgetsgroups_register_widgets()
bp_register_widgetsbp_messages_register_widgets()
bp_loadedbp_core_add_global_group()
bp_loadedbp_members_signup_sanitization()
bp_loadedbp_register_theme_packages()
bp_register_theme_packages[BuddyPress]->register_theme_packages()
bp_loadedbp_register_theme_directory()
bp_register_theme_directory[BuddyPress]->register_theme_directory()
plugins_loadedadd_embedly_providers()
plugins_loaded[jQueryLightbox]->plugins_loaded()
doing_it_wrong_run_NO_CALLBACK_
sanitize_comment_cookiessanitize_comment_cookies()
setup_themepreview_theme()
setup_themebp_setup_theme()
bp_setup_theme[BuddyPress]->setup_theme()
load_textdomain_NO_CALLBACK_
auth_cookie_malformed_NO_CALLBACK_
auth_cookie_valid_NO_CALLBACK_
set_current_userkses_init()
set_current_userbp_setup_current_user()
doing_it_wrong_run_NO_CALLBACK_
bp_setup_current_user[BuddyPress]->setup_current_user()
register_sidebar_NO_CALLBACK_
after_setup_themebp_dtheme_setup()
after_setup_themebp_dtheme_deprecated()
after_setup_themebp_die_legacy_ajax_callbacks()
after_setup_themebp_dtheme_register_actions()
after_setup_themebp_after_setup_theme()
bp_after_setup_themebp_load_theme_functions()
initcreate_initial_post_types()
registered_post_type_NO_CALLBACK_
registered_post_type_NO_CALLBACK_
registered_post_type_NO_CALLBACK_
registered_post_type_NO_CALLBACK_
registered_post_type_NO_CALLBACK_
initcreate_initial_taxonomies()
registered_taxonomy_NO_CALLBACK_
registered_taxonomy_NO_CALLBACK_
registered_taxonomy_NO_CALLBACK_
registered_taxonomy_NO_CALLBACK_
registered_taxonomy_NO_CALLBACK_
init[WP_Scripts]->init()
initdr_email_load_language()
load_textdomain_NO_CALLBACK_
load_textdomain_NO_CALLBACK_
initwp_widgets_init()
widgets_initbp_widgets_init()
bp_widgets_init_NO_CALLBACK_
widgets_initlambda_2615()
widgets_initlambda_2616()
widgets_initlambda_2617()
widgets_initlambda_2618()
widgets_initlambda_2619()
widgets_initlambda_2620()
widgets_initlambda_2621()
widgets_initlambda_2622()
widgets_initlambda_2623()
widgets_initlambda_2624()
widgets_initbp_dtheme_widgets_init()
register_sidebar_NO_CALLBACK_
register_sidebar_NO_CALLBACK_
register_sidebar_NO_CALLBACK_
register_sidebar_NO_CALLBACK_
register_sidebar_NO_CALLBACK_
widgets_init[WP_Widget_Factory]->_register_widgets()
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
wp_register_sidebar_widget_NO_CALLBACK_
initbp_blogs_maybe_add_user_to_blog()
initsmilies_init()
initbp_core_load_admin_bar()
initwp_cron()
update_option_NO_CALLBACK_
update_option__transient_doing_cron_NO_CALLBACK_
updated_option_NO_CALLBACK_
set_transient__transient_doing_cron_NO_CALLBACK_
setted_transient_NO_CALLBACK_
http_api_debug_NO_CALLBACK_
init_show_post_preview()
initkses_init()
initwp_schedule_update_checks()
initbp_init()
bp_initbp_show_friends_load_textdomain()
bp_initbp_core_set_uri_globals()
bp_initbp_core_set_avatar_constants()
bp_initbp_setup_globals()
bp_setup_globalsbp_album_setup_globals()
bp_setup_globalsbp_core_set_avatar_globals()
bp_core_set_avatar_globals_NO_CALLBACK_
bp_setup_globalsjes_events_setup_globals()
jes_events_setup_globals_NO_CALLBACK_
bp_setup_globals[BP_Core]->setup_globals()
bp_core_setup_globals_NO_CALLBACK_
bp_setup_globals[BP_Activity_Component]->setup_globals()
bp_activity_setup_globals_NO_CALLBACK_
bp_setup_globals[BP_Blogs_Component]->setup_globals()
bp_blogs_setup_globals_NO_CALLBACK_
bp_setup_globals[BP_Forums_Component]->setup_globals()
bp_forums_setup_globals_NO_CALLBACK_
bp_setup_globals[BP_Friends_Component]->setup_globals()
bp_friends_setup_globals_NO_CALLBACK_
bp_setup_globals[BP_Groups_Component]->setup_globals()
bp_groups_setup_globals_NO_CALLBACK_
bp_setup_globals[BP_Messages_Component]->setup_globals()
bp_messages_setup_globals_NO_CALLBACK_
bp_setup_globals[BP_Notifications_Component]->setup_globals()
bp_notifications_setup_globals_NO_CALLBACK_
bp_setup_globals[BP_Settings_Component]->setup_globals()
bp_settings_setup_globals_NO_CALLBACK_
bp_setup_globals[BP_XProfile_Component]->setup_globals()
bp_xprofile_setup_globals_NO_CALLBACK_
bp_setup_globals[BP_Members_Component]->setup_globals()
bp_members_setup_globals_NO_CALLBACK_
bp_setup_globalsbp_core_define_slugs()
bp_initbp_stop_live_spammer()
bp_initbp_setup_nav()
bp_setup_navbp_setup_privacy_nav()
bp_setup_navevents_setup_nav()
events_setup_nav_NO_CALLBACK_
bp_setup_nav[BP_Core]->setup_nav()
bp_setup_nav[BP_Activity_Component]->setup_nav()
bp_activity_setup_nav_NO_CALLBACK_
bp_setup_nav[BP_Blogs_Component]->setup_nav()
bp_setup_nav[BP_Forums_Component]->setup_nav()
bp_forums_setup_nav_NO_CALLBACK_
bp_setup_nav[BP_Friends_Component]->setup_nav()
bp_friends_setup_nav_NO_CALLBACK_
bp_setup_nav[BP_Groups_Component]->setup_nav()
bp_groups_setup_nav_NO_CALLBACK_
groups_setup_nav_NO_CALLBACK_
bp_setup_nav[BP_Messages_Component]->setup_nav()
bp_messages_setup_nav_NO_CALLBACK_
bp_setup_nav[BP_Notifications_Component]->setup_nav()
bp_notifications_setup_nav_NO_CALLBACK_
bp_setup_nav[BP_Settings_Component]->setup_nav()
bp_settings_setup_nav_NO_CALLBACK_
bp_setup_nav[BP_XProfile_Component]->setup_nav()
bp_core_new_nav_item_NO_CALLBACK_
bp_xprofile_setup_nav_NO_CALLBACK_
bp_setup_nav[BP_Members_Component]->setup_nav()
bp_setup_navbp_album_setup_nav()
bp_initbp_setup_root_components()
bp_setup_root_componentsevents_setup_root_component()
bp_initbp_core_action_search_site()
bp_initbp_setup_title()
bp_setup_title[BP_Core]->setup_title()
bp_core_setup_title_NO_CALLBACK_
bp_setup_title[BP_Activity_Component]->setup_title()
bp_activity_setup_title_NO_CALLBACK_
bp_setup_title[BP_Blogs_Component]->setup_title()
bp_blogs_setup_title_NO_CALLBACK_
bp_setup_title[BP_Forums_Component]->setup_title()
bp_forums_setup_title_NO_CALLBACK_
bp_setup_title[BP_Friends_Component]->setup_title()
bp_friends_setup_title_NO_CALLBACK_
bp_setup_title[BP_Groups_Component]->setup_title()
bp_groups_setup_title_NO_CALLBACK_
bp_setup_title[BP_Messages_Component]->setup_title()
bp_messages_setup_title_NO_CALLBACK_
bp_setup_title[BP_Notifications_Component]->setup_title()
bp_notifications_setup_title_NO_CALLBACK_
bp_setup_title[BP_Settings_Component]->setup_title()
bp_settings_setup_title_NO_CALLBACK_
bp_setup_title[BP_XProfile_Component]->setup_title()
bp_xprofile_setup_title_NO_CALLBACK_
bp_setup_title[BP_Members_Component]->setup_title()
bp_members_setup_title_NO_CALLBACK_
bp_initbp_register_activity_actions()
bp_register_activity_actionsevents_register_activity_actions()
events_register_activity_actions_NO_CALLBACK_
bp_register_activity_actionsbp_activity_register_activity_actions()
bp_activity_register_activity_actions_NO_CALLBACK_
updates_register_activity_actions_NO_CALLBACK_
bp_register_activity_actionsbp_blogs_register_activity_actions()
bp_blogs_register_activity_actions_NO_CALLBACK_
bp_register_activity_actionsfriends_register_activity_actions()
friends_register_activity_actions_NO_CALLBACK_
bp_register_activity_actionsgroups_register_activity_actions()
groups_register_activity_actions_NO_CALLBACK_
bp_register_activity_actionsxprofile_register_activity_actions()
xprofile_register_activity_actions_NO_CALLBACK_
bp_initbp_embed_init()
bp_initbp_core_load_buddybar_css()
bp_init_bp_maybe_remove_redirect_canonical()
bp_initbp_profile_privacy_init()
bp_initfriends_action_add_friend()
bp_initfriends_action_remove_friend()
bp_initbp_core_wpsignup_redirect()
bp_initbp_core_load_admin_bar_css()
bp_initbp_add_rewrite_tags()
bp_add_rewrite_tags[BuddyPress]->add_rewrite_tags()
bp_add_rewrite_tags[BP_Core]->add_rewrite_tags()
bp_core_add_rewrite_tags_NO_CALLBACK_
bp_add_rewrite_tags[BP_Activity_Component]->add_rewrite_tags()
bp_activity_add_rewrite_tags_NO_CALLBACK_
bp_add_rewrite_tags[BP_Blogs_Component]->add_rewrite_tags()
bp_blogs_add_rewrite_tags_NO_CALLBACK_
bp_add_rewrite_tags[BP_Forums_Component]->add_rewrite_tags()
bp_forums_add_rewrite_tags_NO_CALLBACK_
bp_add_rewrite_tags[BP_Friends_Component]->add_rewrite_tags()
bp_friends_add_rewrite_tags_NO_CALLBACK_
bp_add_rewrite_tags[BP_Groups_Component]->add_rewrite_tags()
bp_groups_add_rewrite_tags_NO_CALLBACK_
bp_add_rewrite_tags[BP_Messages_Component]->add_rewrite_tags()
bp_messages_add_rewrite_tags_NO_CALLBACK_
bp_add_rewrite_tags[BP_Notifications_Component]->add_rewrite_tags()
bp_notifications_add_rewrite_tags_NO_CALLBACK_
bp_add_rewrite_tags[BP_Settings_Component]->add_rewrite_tags()
bp_settings_add_rewrite_tags_NO_CALLBACK_
bp_add_rewrite_tags[BP_XProfile_Component]->add_rewrite_tags()
bp_xprofile_add_rewrite_tags_NO_CALLBACK_
bp_add_rewrite_tags[BP_Members_Component]->add_rewrite_tags()
bp_members_add_rewrite_tags_NO_CALLBACK_
bp_initbp_add_rewrite_rules()
bp_add_rewrite_rules[BP_Core]->add_rewrite_rules()
bp_core_add_rewrite_rules_NO_CALLBACK_
bp_add_rewrite_rules[BP_Activity_Component]->add_rewrite_rules()
bp_activity_add_rewrite_rules_NO_CALLBACK_
bp_add_rewrite_rules[BP_Blogs_Component]->add_rewrite_rules()
bp_blogs_add_rewrite_rules_NO_CALLBACK_
bp_add_rewrite_rules[BP_Forums_Component]->add_rewrite_rules()
bp_forums_add_rewrite_rules_NO_CALLBACK_
bp_add_rewrite_rules[BP_Friends_Component]->add_rewrite_rules()
bp_friends_add_rewrite_rules_NO_CALLBACK_
bp_add_rewrite_rules[BP_Groups_Component]->add_rewrite_rules()
bp_groups_add_rewrite_rules_NO_CALLBACK_
bp_add_rewrite_rules[BP_Messages_Component]->add_rewrite_rules()
bp_messages_add_rewrite_rules_NO_CALLBACK_
bp_add_rewrite_rules[BP_Notifications_Component]->add_rewrite_rules()
bp_notifications_add_rewrite_rules_NO_CALLBACK_
bp_add_rewrite_rules[BP_Settings_Component]->add_rewrite_rules()
bp_settings_add_rewrite_rules_NO_CALLBACK_
bp_add_rewrite_rules[BP_XProfile_Component]->add_rewrite_rules()
bp_xprofile_add_rewrite_rules_NO_CALLBACK_
bp_add_rewrite_rules[BP_Members_Component]->add_rewrite_rules()
bp_members_add_rewrite_rules_NO_CALLBACK_
bp_initbp_add_permastructs()
bp_add_permastructs[BP_Core]->add_permastructs()
bp_core_add_permastructs_NO_CALLBACK_
bp_add_permastructs[BP_Activity_Component]->add_permastructs()
bp_activity_add_permastructs_NO_CALLBACK_
bp_add_permastructs[BP_Blogs_Component]->add_permastructs()
bp_blogs_add_permastructs_NO_CALLBACK_
bp_add_permastructs[BP_Forums_Component]->add_permastructs()
bp_forums_add_permastructs_NO_CALLBACK_
bp_add_permastructs[BP_Friends_Component]->add_permastructs()
bp_friends_add_permastructs_NO_CALLBACK_
bp_add_permastructs[BP_Groups_Component]->add_permastructs()
bp_groups_add_permastructs_NO_CALLBACK_
bp_add_permastructs[BP_Messages_Component]->add_permastructs()
bp_messages_add_permastructs_NO_CALLBACK_
bp_add_permastructs[BP_Notifications_Component]->add_permastructs()
bp_notifications_add_permastructs_NO_CALLBACK_
bp_add_permastructs[BP_Settings_Component]->add_permastructs()
bp_settings_add_permastructs_NO_CALLBACK_
bp_add_permastructs[BP_XProfile_Component]->add_permastructs()
bp_xprofile_add_permastructs_NO_CALLBACK_
bp_add_permastructs[BP_Members_Component]->add_permastructs()
bp_members_add_permastructs_NO_CALLBACK_
bp_initbp_groups_remove_edit_page_menu()
bp_initbp_members_remove_edit_page_menu()
initwpcf7_load_plugin_textdomain()
load_textdomain_NO_CALLBACK_
load_textdomain_NO_CALLBACK_
initembedly_addbuttons()
initjes_events_add_css()
initregiondetect_main()
init[wprequireauth]->wprequireauth_check_auth()
initinit_rar()
initwpcf7_init_switch()
initcheck_theme_switched()
wp_loaded_custom_header_background_just_in_time()
parse_tax_query_NO_CALLBACK_
parse_tax_query_NO_CALLBACK_
posts_selection_NO_CALLBACK_
events_directory_events_setup_NO_CALLBACK_
bp_setup_theme_compat[BP_Activity_Theme_Compat]->is_activity()
bp_setup_theme_compat[BP_Blogs_Theme_Compat]->is_blogs()
bp_setup_theme_compat[BP_Forum_Legacy_Theme_Compat]->is_legacy_forum()
bp_setup_theme_compat[BP_Groups_Theme_Compat]->is_group()
bp_setup_theme_compat[BP_Members_Theme_Compat]->is_members()
bp_setup_theme_compat[BP_Registration_Theme_Compat]->is_registration()
bp_ready_NO_CALLBACK_
template_redirect_wp_admin_bar_init()
template_redirect_bp_rehook_maybe_redirect_404()
template_redirectjet_events_add_ajaxjs()
template_redirectjet_events_add_js()
template_redirectwp_old_slug_redirect()
template_redirectredirect_canonical()
template_redirectbp_template_redirect()
bp_template_redirectbp_core_catch_no_access()
bp_template_redirectbp_redirect_canonical()
bp_template_redirectbp_actions()
bp_actionsbp_album_action_upload()
bp_actionsbp_album_action_edit()
bp_actionsbp_album_action_delete()
bp_actionsbp_core_setup_message()
bp_actionsbp_activity_action_permalink_router()
bp_actionsbp_activity_action_delete_activity()
bp_actionsbp_activity_action_spam_activity()
bp_actionsbp_activity_action_post_update()
bp_actionsbp_activity_action_post_comment()
bp_actionsbp_activity_action_mark_favorite()
bp_actionsbp_activity_action_remove_favorite()
bp_actionsbp_activity_action_sitewide_feed()
bp_actionsbp_activity_action_personal_feed()
bp_actionsbp_activity_action_friends_feed()
bp_actionsbp_activity_action_my_groups_feed()
bp_actionsbp_activity_action_mentions_feed()
bp_actionsbp_activity_action_favorites_feed()
bp_actionsbp_blogs_redirect_to_random_blog()
bp_actionsgroups_action_create_group()
bp_actionsgroups_action_join_group()
bp_actionsgroups_action_leave_group()
bp_actionsgroups_action_redirect_to_random_group()
bp_actionsgroups_action_group_feed()
bp_actionsmessages_add_autocomplete_js()
bp_actionsmessages_action_conversation()
bp_actionsmessages_action_delete_message()
bp_actionsmessages_action_bulk_delete()
bp_actionsbp_notifications_action_mark_read()
bp_actionsbp_notifications_action_mark_unread()
bp_actionsbp_notifications_action_delete()
bp_actionsbp_settings_action_general()
bp_actionsbp_settings_action_notifications()
bp_actionsbp_settings_action_capabilities()
bp_actionsbp_settings_action_delete_account()
bp_actionsxprofile_action_delete_avatar()
bp_actionsbp_core_get_random_member()
bp_actionsmcbpd_override_xprofile_screen_edit_profile()
bp_template_redirectbp_screens()
bp_screensbp_blogs_screen_index()
bp_screensbp_forums_directory_forums_setup()
bp_screensgroups_directory_groups_setup()
bp_screensbp_blogs_screen_create_a_blog()
bp_screensbp_activity_screen_index()
bp_screensbp_activity_screen_single_activity_permalink()
bp_screensbp_forums_screen_single_forum()
bp_screensbp_forums_screen_single_topic()
bp_screensgroups_screen_group_activity_permalink()
bp_screensgroups_screen_group_admin_edit_details()
bp_screensgroups_screen_group_admin_settings()
bp_screensgroups_screen_group_admin_avatar()
bp_screensgroups_screen_group_admin_manage_members()
bp_screensgroups_screen_group_admin_requests()
bp_screensgroups_screen_group_admin_delete_group()
bp_screensmessages_screen_conversation()
bp_screensbp_members_screen_index()
bp_screensbp_core_screen_signup()
bp_screensbp_core_screen_activation()
bp_template_redirectbp_post_request()
bp_template_redirectbp_get_request()
template_redirectwp_shortlink_header()
template_redirectwp_redirect_admin_locations()
get_header_NO_CALLBACK_
bp_headbp_activity_sitewide_feed()
bp_headbp_groups_activity_feed()
bp_headbp_members_activity_feed()
wp_headwp_enqueue_scripts()
wp_enqueue_scriptsbp_enqueue_scripts()
bp_enqueue_scripts_NO_CALLBACK_
wp_enqueue_scriptsbp_dtheme_enqueue_scripts()
wp_enqueue_scriptsbp_dtheme_enqueue_styles()
wp_headnoindex()
wp_headfeed_links()
wp_headfeed_links_extra()
wp_headwp_print_styles()
wp_print_styleswpcf7_enqueue_styles()
wpcf7_enqueue_styles_NO_CALLBACK_
wp_print_stylesjes_ua_enqueue_style()
wp_print_stylesjes_css_style()
wp_head_bp_maybe_remove_rel_canonical()
wp_headwp_print_head_scripts()
wp_print_scriptswp_just_in_time_script_localization()
wp_print_scriptswpcf7_enqueue_scripts()
wpcf7_enqueue_scripts_NO_CALLBACK_
wp_print_scriptsjes_ea_enqueue_script()
wp_print_scriptsmcbpd_load_scripts()
wp_headrsd_link()
wp_headwlwmanifest_link()
wp_headadjacent_posts_rel_link_wp_head()
wp_headlocale_stylesheet()
wp_headwp_generator()
wp_headrel_canonical()
wp_headwp_shortlink_wp_head()
wp_headbp_core_add_ajax_url_js()
wp_headbp_core_sort_nav_items()
wp_headbp_core_sort_subnav_items()
wp_headbp_core_record_activity()
update_user_meta_NO_CALLBACK_
updated_user_meta_NO_CALLBACK_
wp_headwpcf7_head()
wp_headembedly_head()
wp_headjes_seo_title()
wp_head[jQueryLightbox]->wp_head()
wp_headmessages_add_autocomplete_css()
wp_headbp_album_add_css()
wp_print_styleswpcf7_enqueue_styles()
wpcf7_enqueue_styles_NO_CALLBACK_
wp_print_stylesjes_ua_enqueue_style()
wp_print_stylesjes_css_style()
wp_headmcbpd_load_stylesheets()
wp_headbp_dtheme_header_style()
wp_headbp_dtheme_custom_background_style()
wp_headbp_core_confirmation_js()
bp_before_headerbp_dtheme_remove_nojs_body_class()
bp_search_login_bar_NO_CALLBACK_
parse_tax_query_NO_CALLBACK_
parse_tax_query_NO_CALLBACK_
posts_selection_NO_CALLBACK_
parse_tax_query_NO_CALLBACK_
parse_tax_query_NO_CALLBACK_
posts_selection_NO_CALLBACK_
bp_headermcbpd_show_user_business_card()
xprofile_template_loop_start_NO_CALLBACK_
xprofile_template_loop_end_NO_CALLBACK_
bp_after_header_NO_CALLBACK_
bp_before_container_NO_CALLBACK_
bp_before_member_messages_content_NO_CALLBACK_
bp_before_member_messages_loop_NO_CALLBACK_
bp_after_member_messages_loop_NO_CALLBACK_
bp_after_member_messages_content_NO_CALLBACK_
deprecated_function_run_NO_CALLBACK_
activity_loop_startbp_activity_embed()
bp_before_activity_entry_NO_CALLBACK_
bp_activity_entry_content_NO_CALLBACK_
bp_activity_entry_meta_NO_CALLBACK_
bp_before_activity_entry_comments_NO_CALLBACK_
bp_activity_entry_comments_NO_CALLBACK_
bp_after_activity_entry_comments_NO_CALLBACK_
bp_after_activity_entry_NO_CALLBACK_
bp_before_activity_entry_NO_CALLBACK_
bp_activity_entry_content_NO_CALLBACK_
bp_activity_entry_meta_NO_CALLBACK_
bp_before_activity_entry_comments_NO_CALLBACK_
bp_before_activity_commentbp_activity_comment_embed()
bp_activity_comment_options_NO_CALLBACK_
bp_after_activity_commentbp_activity_comment_embed_after_recurse()
bp_activity_entry_comments_NO_CALLBACK_
bp_after_activity_entry_comments_NO_CALLBACK_
bp_after_activity_entry_NO_CALLBACK_
activity_loop_end_NO_CALLBACK_
dynamic_sidebar_NO_CALLBACK_
member_loop_start_NO_CALLBACK_
member_loop_end_NO_CALLBACK_
get_footer_NO_CALLBACK_
bp_after_container_NO_CALLBACK_
bp_before_footer_NO_CALLBACK_
bp_after_footer_NO_CALLBACK_
wp_footerbp_core_admin_bar()
wp_footerbp_show_friends_custom_js()
wp_footerbp_core_print_generation_time()
wp_footerwp_print_footer_scripts()
wp_print_footer_scripts_wp_footer_scripts()
wp_footerwp_admin_bar_render()
shutdownwp_ob_end_flush_all()
Codex Home → Administrator Guide → Mark as Spam Admin Screen
Mark as Spam Admin Screen
Site Administrators on non-Multisite installations can now perform spam actions from Dashboard > Users > All Users just like Super Administrators of Multisite installations have been able to do.
Codex Home → Developer Resources → Function Examples → bp_activity_set_action()
bp_activity_set_action()
bp_activity_set_action() is used to set activity actions. bp_activity_set_action() should only be invoked through the 『bp_register_activity_actions』 action.
Usage
function custom_plugin_register_activity_actions() {
// Your plugin is creating a custom BuddyPress component
$component_id = 'plugin_component_id';
// You can also use one of the BuddyPress component
// $component_id = buddypress()->activity->id;
bp_activity_set_action(
$component_id,
'plugin_action',
__( 'Did a plugin action', 'plugin-domain' ),
'plugin_format_activity_action_plugin_action',
__( 'Plugin actions', 'plugin-domain' ),
array( 'member' )
);
}
add_action( 'bp_register_activity_actions', 'custom_plugin_register_activity_actions' );
Parameters
$component_id
The unique string ID of the component the activity action is attached to. Possible values can be one of the BuddyPress optional components or an optional component the plugin is creating :
'activity'
'blogs'
'friends'
'groups'
'members'
'xprofile'
'plugin_component'
$type
A string that describes the action type and that is used in the front-end and in the Activity Administration screens as the value of the activity dropdown filters. For instance the Activity component has two actions :
'activity_update'
'activity_comment'
$description
A string that describes the action description and that is used in the Activity Administration screens as the label of the activity dropdown filters. For instance the corresponding descriptions of the two action types of the Activity component are :
__( 'Posted a status update', 'buddypress' )
__( 'Replied to a status update', 'buddypress' )
$format_callback
A callable function for formatting the action string. For instance the corresponding callback functions of the two action types of the Activity component are :
'bp_activity_format_activity_action_activity_update'
'bp_activity_format_activity_action_activity_comment'
$label
A string that describes the action label of the activity front-end dropdown filters. For instance the corresponding labels of the two action types of the Activity component are :
__( 'Updates', 'buddypress' )
__( 'Activity Comments', 'buddypress' )
$context
An optional array that describes the Activity stream contexts where the filter should appear. Possible values are :
'activity': to display the action into the dropdown filters of the Activity directory.
'member': to display the action into the dropdown filters of the Member』s activity page (by default the home page).
'member_groups': to display the action into the dropdown filters of the Member』s groups activity page.
'group': to display the action into the dropdown filters of the group』s activity page (by default the home page).
$position
An optional integer that describes the position of the action when listed in dropdown filters. Actions are first sorted by their attached components. This argument will sort the list of actions for each component.
Return value
Boolean: true on success, false otherwise.
Source File
bp_activity_set_action() is located in bp-activity/bp-activity-functions.php
Change Log
2.2.0: It will be possible to sort the activity actions within their attached component.
2.1.0: Activity dropdown filters are dynamically generated instead of hardcoded into templates. See function bp_activity_show_filters()
2.0.0: activity action strings are generated dynamically, rather than stored statically. This means that the data is always up-to-date for a better compatibility with multilingual sites
Since 1.1.0
Notes
Since BuddyPress 2.1.0 custom templates or BuddyPress themes can use the function bp_activity_show_filters() instead of hardcoding the options into the following templates :
activityindex.php: use
groupssingleactivity.php: use
memberssingleactivity.php: use