bbp_admin_settings

The main settings page.

Description

bbp_admin_settings(); 

Usage

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

Defined (1)

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

/includes/admin/settings.php  
  1. function bbp_admin_settings() { 
  2. ?> 
  3.  
  4. <div class="wrap"> 
  5.  
  6. <?php screen_icon(); ?> 
  7.  
  8. <h2><?php esc_html_e( 'Forums Settings', bbpress ) ?></h2> 
  9.  
  10. <form action="options.php" method="post"> 
  11.  
  12. <?php settings_fields( bbpress ); ?> 
  13.  
  14. <?php do_settings_sections( bbpress ); ?> 
  15.  
  16. <p class="submit"> 
  17. <input type="submit" name="submit" class="button-primary" value="<?php esc_attr_e( 'Save Changes', bbpress ); ?>" /> 
  18. </p> 
  19. </form> 
  20. </div> 
  21.  
  22. <?php