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.


Top ↑

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' ) );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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