bbp_converter_settings

The main settings page.

Description

bbp_converter_settings(); 

Usage

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

Defined (1)

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

/includes/admin/settings.php  
  1. function bbp_converter_settings() { 
  2. ?> 
  3.  
  4. <div class="wrap"> 
  5.  
  6. <?php screen_icon( 'tools' ); ?> 
  7.  
  8. <h2 class="nav-tab-wrapper"><?php bbp_tools_admin_tabs( esc_html__( 'Import Forums', bbpress ) ); ?></h2> 
  9.  
  10. <form action="#" method="post" id="bbp-converter-settings"> 
  11.  
  12. <?php settings_fields( 'bbpress_converter' ); ?> 
  13.  
  14. <?php do_settings_sections( 'bbpress_converter' ); ?> 
  15.  
  16. <p class="submit"> 
  17. <input type="button" name="submit" class="button-primary" id="bbp-converter-start" value="<?php esc_attr_e( 'Start', bbpress ); ?>" onclick="bbconverter_start();" /> 
  18. <input type="button" name="submit" class="button-primary" id="bbp-converter-stop" value="<?php esc_attr_e( 'Stop', bbpress ); ?>" onclick="bbconverter_stop();" /> 
  19. <img id="bbp-converter-progress" src=""> 
  20. </p> 
  21.  
  22. <div class="bbp-converter-updated" id="bbp-converter-message"></div> 
  23. </form> 
  24. </div> 
  25.  
  26. <?php