bbp_converter_setting_callback_dbport

Edit Database Server Port setting field.

Description

bbp_converter_setting_callback_dbport(); 

Usage

  1. if ( !function_exists( 'bbp_converter_setting_callback_dbport' ) ) { 
  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_dbport(); 
  7.  

Defined (1)

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

/includes/admin/settings.php  
  1. function bbp_converter_setting_callback_dbport() { 
  2. ?> 
  3.  
  4. <input name="_bbp_converter_db_port" id="_bbp_converter_db_port" type="text" value="<?php bbp_form_option( '_bbp_converter_db_port', '3306' ); ?>" class="small-text" /> 
  5. <label for="_bbp_converter_db_port"><?php esc_html_e( 'Use default 3306 if unsure', bbpress ); ?></label> 
  6.  
  7. <?php