Functions |
Description |
---|---|
bp_blogs_maybe_add_user_to_blog() |
Rehook WP’s maybe_add_existing_user_to_blog with a later priority. |
bp_blogs_new_blog_comment_query_backpat() |
Filter ‘new_blog_comment’ bp_has_activities() loop to include new- and old-style blog activity comment items. |
bp_blogs_pagination_count() |
Output the blogs pagination count. |
bp_blogs_pagination_links() |
Output the blogs pagination links. |
bp_blogs_post_pre_publish() |
Check whether the current activity about a post or a comment can be published. |
bp_blogs_post_type_comments_avoid_duplicates() |
Limit the display of post type synced comments. |
bp_blogs_post_type_remove_comment() |
Remove a synced activity comment from the activity feed. |
bp_blogs_prefetch_activity_object_data() |
Fetch data related to blogs at the beginning of an activity loop. |
bp_blogs_profile_stats() |
Display the number of blogs in user’s profile. |
bp_blogs_publish_post_activity_meta() |
Record activity metadata about a published blog post. |
bp_blogs_record_activity() |
Record blog-related activity to the activity feed. |
bp_blogs_record_activity_on_site_creation() |
Add an activity entry for a newly-created site. |
bp_blogs_record_blog() |
Make BuddyPress aware of a new site so that it can track its activity. |
bp_blogs_record_comment() |
Record a new blog comment in the BuddyBoss activity feed. |
bp_blogs_record_existing_blogs() |
Populate the BP blogs table with existing blogs. |
bp_blogs_record_post() |
Record a new blog post in the BuddyBoss activity feed. |
bp_blogs_redirect_to_random_blog() |
Redirect to a random blog in the multisite network. |
bp_blogs_register_activity_actions() |
Register activity actions for the blogs component. |
bp_blogs_register_custom_site_icon_size() |
Registers our custom thumb size with WP’s Site Icon feature. |
bp_blogs_register_post_tracking_args() |
Set up the tracking arguments for the ‘post’ post type. |
bp_blogs_register_widgets() |
Register the widgets for the Blogs component. |
bp_blogs_remove_activity_meta_for_trashed_comments() |
When a post is trashed, remove each comment’s associated activity meta. |
bp_blogs_remove_associated_blog_comments() |
Removes blog comments that are associated with activity comments. |
bp_blogs_remove_blog() |
Remove the “blog created” item from the BP blogs tracker and activity feed. |
bp_blogs_remove_blog_for_user() |
Remove a blog from the tracker for a specific user. |
bp_blogs_remove_comment() |
Remove a blog comment activity item from the activity feed. |
bp_blogs_remove_data() |
Remove all blog associations for a given user. |
bp_blogs_remove_data_for_blog() |
Remove the all data related to a given blog from the BP blogs tracker and activity feed. |
bp_blogs_remove_post() |
Remove a blog post activity item from the activity feed. |
bp_blogs_remove_user_from_blog() |
Remove a blog-user pair from BP’s blog tracker. |
bp_blogs_restore_data() |
Restore all blog associations for a given user. |
bp_blogs_root_slug() |
Output the blogs component root slug. |
bp_blogs_screen_create_a_blog() |
Load the “Create a Blog” screen. |
bp_blogs_screen_index() |
Load the top-level Blogs directory. |
bp_blogs_screen_my_blogs() |
Load the “My Blogs” screen. |
bp_blogs_setup_activity_loop_globals() |
Utility function to set up some variables for use in the activity loop. |
bp_blogs_setup_comment_loop_globals_on_ajax() |
Set up some globals used in the activity comment loop when AJAX is used. |
bp_blogs_signup_blog() |
Output the input fields for the blog creation form. |
bp_blogs_slug() |
Output the blogs component slug. |
bp_blogs_subdomain_base() |
Output the base URL for subdomain installations of WordPress Multisite. |
bp_blogs_sync_activity_edit_to_post_comment() |
Updates the blog comment when the associated activity comment is edited. |
bp_blogs_sync_add_from_activity_comment() |
Syncs activity comments and posts them back as blog comments. |
bp_blogs_sync_delete_from_activity_comment() |
Deletes the blog comment when the associated activity comment is deleted. |
bp_blogs_total_blogs() |
Get the total number of blogs being tracked by BuddyPress. |
bp_blogs_total_blogs_for_user() |
Get the total number of blogs being tracked by BP for a specific user. |
bp_blogs_transition_activity_status() |
When a blog comment status transition occurs, update the relevant activity’s status. |
bp_blogs_update_blogmeta() |
Update a piece of blog meta. |
bp_blogs_update_meta_cache() |
Slurp up blogmeta for a specified set of blogs. |
bp_blogs_update_option_blogdescription() |
Update blog description in BuddyPress blogmeta table. |
bp_blogs_update_option_blogname() |
Update blog name in BuddyPress blogmeta table. |