Hooks |
Description |
---|---|
bp_activity_comments_user_join_filter |
Filters the MySQL prepared statement for the legacy activity query. |
bp_activity_create_summary |
Filters the newly-generated summary for the activity item. |
bp_activity_create_summary_extractor_args |
Filter the arguments passed to the media extractor when creating an Activity summary. |
bp_activity_create_summary_extractor_class |
Filter the class name of the media extractor when creating an Activity summary. |
bp_activity_create_summary_extractor_result |
Filter the results of the media extractor when creating an Activity summary. |
bp_activity_current_comment |
Filters the current comment being recursed. |
bp_activity_custom_post_type_comment_action |
Filters the formatted custom post type activity comment action string. |
bp_activity_custom_post_type_post_action |
Filters the formatted custom post type activity post action string. |
bp_activity_custom_update |
Filters activity object for BuddyPress core and plugin authors before posting activity update. |
bp_activity_default_scope |
Filter to update default scope. |
bp_activity_delete |
Fires after the activity item has been deleted. |
bp_activity_delete_comment |
Fires at the end of the deletion of an activity comment, before returning success. |
bp_activity_delete_comment_pre |
Filters whether BuddyPress should delete an activity comment or not. |
bp_activity_deleted_activities |
Fires after the activity item has been deleted. |
bp_activity_do_heartbeat |
Filters whether the heartbeat feature in the activity feed should be active. |
bp_activity_do_mentions |
Filters whether or not mentions are enabled. |
bp_activity_embed_after_media |
This hook is documented in /bp-activity/bp-activity-embeds.php |
bp_activity_embed_display_media |
Should we display media in the oEmbed template? |
bp_activity_embed_display_media_width |
Filters the default embed display max width. |
bp_activity_embed_fallback_html |
Filters the fallback HTML used when embedding a BP activity item. |
bp_activity_enable_afilter_support |
Filters whether BuddyPress should enable afilter support. |
bp_activity_enable_feeds |
Filters if BuddyPress should consider feeds enabled. If disabled, it will return early. |
bp_activity_entry_content |
Fires after the display of an activity entry content. |
bp_activity_entry_meta |
Fires at the end of the activity entry meta data area. |
bp_activity_excerpt_append_text |
Filters the appended text for the activity excerpt. |
bp_activity_excerpt_length |
Filters the excerpt length for the activity excerpt. |
bp_activity_feed_channel_elements |
Fires at the end of channel elements list in RSS feed so plugins can add extra channel elements. |
bp_activity_feed_item_elements |
Fires at the end of the individual RSS Item list in RSS feed so plugins can add extra item elements. |
bp_activity_feed_postfetch |
Fires after the feed is setup so plugins can modify. |
bp_activity_feed_prefetch |
Fires before the feed is setup so plugins can modify. |
bp_activity_feed_rss_attributes |
Fires at the end of the opening RSS tag for feed output so plugins can add extra attributes. |
bp_activity_generate_action_string |
Filters the string for the activity action being returned. |
bp_activity_get |
Filters the requested activity item(s). |
bp_activity_get_action |
Filters the current action by component and key. |
bp_activity_get_activity_id |
Filters the activity ID being requested. |
bp_activity_get_comment_count |
Filters the activity comment count. |
bp_activity_get_comment_depth |
Filters the comment depth of the current activity comment. |
bp_activity_get_comments_user_ids |
Filters the list of user IDs for the current activity item. |
bp_activity_get_edit_data |
Filter here to edit the activity edit data. |
bp_activity_get_embed_excerpt |
Filter the activity embed excerpt. |
bp_activity_get_include_user_search |
Filters whether or not to include users for search parameters. |
bp_activity_get_join_sql |
Filter the MySQL JOIN clause for the main activity query. |
bp_activity_get_last_updated |
Filters the value for the last updated time for an activity item. |
bp_activity_get_meta |
Filters the metadata for a specified activity item. |
bp_activity_get_permalink |
Filters the activity permalink for the specified activity item. |
bp_activity_get_post_type_tracking_args |
Filters tracking arguments for a specific post type. |
bp_activity_get_post_types_tracking_args |
Filters tracking arguments for all post types. |
bp_activity_get_sitewide |
Pass filters as an array: array( ‘user_id’ => false, // user_id to filter on ‘object’ => false, // object to filter on e.g. groups, profile, status, friends ‘action’ => false, // action to filter on e.g. new_wire_post, new_forum_post, profile_updated ‘primary_id’ => false, // object ID to filter on e.g. a group_id or forum_id or blog_id etc. |
bp_activity_get_specific |
Filters the requested specific activity item. |
bp_activity_get_types |
Filters the available activity types. |