apply_filters( 'bp_activity_pre_transition_post_type_status', bool , string $new_status, string $old_status, WP_Post $post )

Fires before post type transition catch in activity

Description

Parameters

true True for default.

$new_status

New status for the post.

$old_status

Old status for the post.

$post

Post data.

Source

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

Changelog

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