bp_activity_setup_akismet

Loads Akismet filtering for activity.

Description

bp_activity_setup_akismet(); 

Usage

  1. if ( !function_exists( 'bp_activity_setup_akismet' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-activity/bp-activity-akismet.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_activity_setup_akismet(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-activity/bp-activity-akismet.php  
  1. function bp_activity_setup_akismet() { 
  2. /** 
  3. * Filters if BuddyPress Activity Akismet support has been disabled by another plugin. 
  4. * @since 1.6.0 
  5. * @param bool $value Return value of bp_is_akismet_active boolean function. 
  6. */ 
  7. return; 
  8.  
  9. // Instantiate Akismet for BuddyPress. 
  10. buddypress)->activity->akismet = new BP_Akismet();