do_action( 'bp_blogs_new_blog_post', int $ID, WP_Post $post, string $value )

Fires after BuddyPress has recorded metadata about a published blog post.

Description

Parameters

$ID

(int) ID of the blog post being recorded.

$post

(WP_Post) WP_Post object for the current blog post.

$value

(string) ID of the user associated with the current blog post.

Source

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

Changelog

Changelog
Version Description
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.