do_action( "bp_activity_post_type_edit_{$post->post_type}", WP_Post $post , string $new_status , string $old_status )
Fires when editing the post and the new status is not ‘publish’.
Description
This is a variable filter that is dependent on the post type being untrashed.
Parameters
- $post
-
Post data.
- $new_status
-
New status for the post.
- $old_status
-
Old status for the post.
Source
Changelog
Version | Description |
---|---|
BuddyPress 2.5.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.