bp_admin_setting_callback_activity_akismet

Allow Akismet setting field.

Description

bp_admin_setting_callback_activity_akismet(); 

Usage

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

Defined (1)

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

/bp-core/admin/bp-core-admin-settings.php  
  1. function bp_admin_setting_callback_activity_akismet() { 
  2. ?> 
  3.  
  4. <input id="_bp_enable_akismet" name="_bp_enable_akismet" type="checkbox" value="1" <?php checked( bp_is_akismet_active( true ) ); ?> /> 
  5. <label for="_bp_enable_akismet"><?php _e( 'Allow Akismet to scan for activity stream spam', buddypress ); ?></label> 
  6.  
  7. <?php