apply_filters( 'bp_activity_can_comment', bool $can_comment , string $activity_type )
Filters whether a comment can be made on an activity item.
Description Description
Parameters Parameters
- $can_comment
-
Status on if activity can be commented on.
- $activity_type
-
Current activity type being checked on.
Source Source
File: bp-activity/bp-activity-template.php
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Use $activity_type instead of $activity_name for the second parameter. |
1.5.0 | Introduced. |