apply_filters( 'bp_activity_type_requires_content', bool $value , string $type )
Use this filter to make the content of your activity required.
Description Description
Parameters Parameters
- $value
-
True if the content of the activity type is required. False otherwise.
- $type
-
The type of the activity we are about to insert.
Source Source
File: bp-activity/classes/class-bp-activity-activity.php
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |