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

(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

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

Changelog

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.