bbp_admin_setting_callback_root_slug_section

Slugs settings section description for the settings page.

Description

bbp_admin_setting_callback_root_slug_section(); 

Usage

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

Defined (1)

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

/includes/admin/settings.php  
  1. function bbp_admin_setting_callback_root_slug_section() { 
  2.  
  3. // Flush rewrite rules when this section is saved 
  4. if ( isset( $_GET['settings-updated'] ) && isset( $_GET['page'] ) ) 
  5. flush_rewrite_rules(); ?> 
  6.  
  7. <p><?php esc_html_e( 'Customize your Forums root. Partner with a WordPress Page and use Shortcodes for more flexibility.', bbpress ); ?></p> 
  8.  
  9. <?php