apply_filters( 'bp_activity_pre_transition_post_type_comment_status', bool $value , string $post_type , int $activity_id , string $new_status , string $old_status , WP_Comment $comment )
Leave a chance to plugins to manage activity comments differently.
Description
Parameters
- $value
-
True to override BuddyPress management.
- $post_type
-
The post type name.
- $activity_id
-
The post type activity (0 if not found).
- $new_status
-
The new status of the post type comment.
- $old_status
-
The old status of the post type comment.
- $comment
-
Comment data.
Source
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.