BP_Akismet::get_activity_types()
Get a filterable list of activity types that Akismet should automatically check for spam.
Description Description
Return Return
(array) $value List of activity types.
Source Source
File: bp-activity/classes/class-bp-akismet.php
public static function get_activity_types() {
/**
* Filters the list of activity types that Akismet should automatically check for spam.
*
* @since 1.6.0
*
* @param array $value Array of default activity types for Akismet to check.
*/
return apply_filters( 'bp_akismet_get_activity_types', array( 'activity_comment', 'activity_update' ) );
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.6.0 | Introduced. |