Functions |
Description |
---|---|
bp_activity_id() |
Output the activity ID. |
bp_activity_is_favorite() |
Output whether or not the current activity is in a current user’s favorites. |
bp_activity_item_id() |
Output the activity item ID. |
bp_activity_latest_update() |
Output the activity latest update link. |
bp_activity_link_preview() |
Embed link preview in activity content |
bp_activity_load_more_link() |
Output the URL for the Load More link. |
bp_activity_make_nofollow_filter() |
Catch links in activity text so rel=nofollow can be added. |
bp_activity_make_nofollow_filter_callback() |
Add rel=nofollow to a link. |
bp_activity_mark_as_ham() |
Mark an activity item as ham. |
bp_activity_mark_as_spam() |
Mark an activity item as spam. |
bp_activity_maybe_load_mentions_scripts() |
Should BuddyPress load the mentions scripts and related assets, including results to prime the mentions suggestions? |
bp_activity_media_add() |
Create media activity for each media uploaded |
bp_activity_media_fix_data() |
Fix to BuddyBoss media activity data |
bp_activity_media_handle_sideload() |
This handles a sideloaded file in the same way as an uploaded file is handled by {@link media_handle_upload()} |
bp_activity_media_sideload_attachment() |
Download an image from the specified URL and attach it to a post. |
bp_activity_member_display_name() |
Output the display name of the member who posted the activity. |
bp_activity_mentions_script() |
Enqueue @mentions JS. |
bp_activity_new_at_mention_permalink() |
Generate permalink for comment mention notification. |
bp_activity_new_comment() |
Add an activity comment. |
bp_activity_new_comment_notification() |
Send email and BP notifications when an activity item receives a comment. |
bp_activity_new_comment_notification_helper() |
Helper method to map action arguments to function parameters. |
bp_activity_newest_class() |
Add a just-posted classes to the most recent activity item. |
bp_activity_object_name() |
Output the activity object name. |
bp_activity_oembed_dataparse() |
Cache full oEmbed response from oEmbed. |
bp_activity_pagination_count() |
Output the activity pagination count. |
bp_activity_pagination_links() |
Output the activity pagination links. |
bp_activity_parent_content() |
Output the activity parent content. |
bp_activity_parent_user_id() |
Output the parent activity’s user ID. |
bp_activity_per_page() |
Output the number of activities per page. |
bp_activity_permalink_id() |
Output the activity permalink ID. |
bp_activity_post_form_action() |
Output the activity post form action. |
bp_activity_post_type_comment() |
Create an activity item for a newly posted post type comment. |
bp_activity_post_type_get_tracking_arg() |
Get a specific tracking argument for a given activity type |
bp_activity_post_type_publish() |
Create an activity item for a newly published post type post. |
bp_activity_post_type_remove_comment() |
Remove an activity item when a comment about a post type is deleted. |
bp_activity_post_type_unpublish() |
Unpublish an activity for the custom post type. |
bp_activity_post_type_update() |
Update the activity item for a custom post type entry. |
bp_activity_post_update() |
Post an activity update. |
bp_activity_pre_transition_post_type_status() |
Stop to add featured course’s Lessons, Quizzes and Topics acvitity |
bp_activity_privacy() |
Output the activity privacy. |
bp_activity_recurse_comment_count() |
Return the total number of comments to the current comment. |
bp_activity_recurse_comments() |
Loops through a level of activity comments and loads the template for each. |
bp_activity_recurse_comments_activity_ids() |
Recurse through all activity comments and return the activity comment IDs. |
bp_activity_recurse_comments_user_ids() |
Recurse through all activity comments and collect the IDs of the users who wrote them. |
bp_activity_register_activity_actions() |
Register the activity feed actions for updates. |
bp_activity_remove_all_user_data() |
Completely remove a user’s activity data. |
bp_activity_remove_platform_updates() |
Do not add the activity if uncheck the options from the backend BuddyBoss > Settings > Activity > Posts in Activity Feed >BuddyBoss Platform |
bp_activity_remove_screen_notifications() |
Mark at-mention notifications as read when users visit their Mentions page. |
bp_activity_remove_screen_notifications_for_non_mentions() |
Mark non-mention notifications as read when user visits our read permalink. |
bp_activity_remove_screen_notifications_single_activity_permalink() |
Mark notifications as read when a user visits an activity permalink. |