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.


Top ↑

Source Source

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


Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Use $activity_type instead of $activity_name for the second parameter.
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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