do_action( 'bp_activity_post_type_updated', WP_Post $post, BP_Activity_Activity $activity, object $activity_post_object )

Fires after the updating of an activity item for a custom post type entry.

Description

Parameters

$post

(WP_Post) Post object.

$activity

(BP_Activity_Activity) Activity object.

$activity_post_object

(object) The post type tracking args object.

Source

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

Changelog

Changelog
Version Description
BuddyPress 2.5.0 Add the post type tracking args parameter BuddyPress 2.5.0 Add the post type tracking args parameter
BuddyPress 2.2.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.