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.


Parameters Parameters

$recorded_blog

(BP_Blogs_Blog) Current blog being recorded. Passed by reference.

$is_private

(bool) Whether or not the current blog being recorded is private.

$is_recorded

(bool) Whether or not the current blog was recorded.

$no_activity

(bool) Whether to skip recording an activity item for this blog creation.


Source Source

File: bp-blogs/bp-blogs-functions.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Added $no_activity as a parameter.
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.