apply_filters( 'bp_activity_type_requires_content', bool $value, string $type )

Use this filter to make the content of your activity required.

Parameters Parameters


(bool) True if the content of the activity type is required. False otherwise.


(string) The type of the activity we are about to insert.

Source Source

File: bp-activity/classes/class-bp-activity-activity.php

View on Trac

Top ↑

Changelog Changelog

Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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