bbp_admin_setting_callback_throttle

Throttle setting field.

Description

bbp_admin_setting_callback_throttle(); 

Usage

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

Defined (1)

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

/includes/admin/settings.php  
  1. function bbp_admin_setting_callback_throttle() { 
  2. ?> 
  3.  
  4. <input name="_bbp_throttle_time" id="_bbp_throttle_time" type="number" min="0" step="1" value="<?php bbp_form_option( '_bbp_throttle_time', '10' ); ?>" class="small-text"<?php bbp_maybe_admin_setting_disabled( '_bbp_throttle_time' ); ?> /> 
  5. <label for="_bbp_throttle_time"><?php esc_html_e( 'seconds', bbpress ); ?></label> 
  6.  
  7. <?php