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

(bool) true True for default.

$new_status

(string) New status for the post.

$old_status

(string) Old status for the post.

$post

(WP_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.