do_action_ref_array( 'bp_blogs_new_blog', BP_Blogs_Blog $recorded_blog , bool $is_private , bool $is_recorded , bool $no_activity )
Fires after BuddyPress has been made aware of a new site for activity tracking.
Description
Parameters
- $recorded_blog
-
Current blog being recorded. Passed by reference.
- $is_private
-
Whether or not the current blog being recorded is private.
- $is_recorded
-
Whether or not the current blog was recorded.
- $no_activity
-
Whether to skip recording an activity item for this blog creation.
Source
Changelog
Version | Description |
---|---|
BuddyPress 2.6.0 Added $no_activity as a parameter. | BuddyPress 2.6.0 Added $no_activity as a parameter. |
BuddyPress 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.