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 Description
This is a variable filter that is dependent on the post type being untrashed.
Parameters Parameters
- $post
-
(WP_Post) Post data.
- $new_status
-
(string) New status for the post.
- $old_status
-
(string) Old status for the post.
Source Source
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |