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.

Parameters Parameters


(bool) True to override BuddyPress management.


(string) The post type name.


(int) The post type activity (0 if not found).


(string) The new status of the post type comment.


(string) The old status of the post type comment.


(WP_Comment) Comment data.

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.