bbp_converter_setting_callback_convert_users

Edit Convert Users setting field.

Description

bbp_converter_setting_callback_convert_users(); 

Usage

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

Defined (1)

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

/includes/admin/settings.php  
  1. function bbp_converter_setting_callback_convert_users() { 
  2. ?> 
  3.  
  4. <input name="_bbp_converter_convert_users" id="_bbp_converter_convert_users" type="checkbox" value="1" <?php checked( get_option( '_bbp_converter_convert_users', false ) ); ?> /> 
  5. <label for="_bbp_converter_convert_users"><?php esc_html_e( 'Attempt to import user accounts from previous forums', bbpress ); ?></label> 
  6. <p class="description"><?php esc_html_e( 'Non-bbPress passwords cannot be automatically converted. They will be converted as each user logs in.', bbpress ); ?></p> 
  7.  
  8. <?php