bbp_admin_get_settings_sections

Get the Forums settings sections.

Description

(array) bbp_admin_get_settings_sections(); 

Returns (array)


Usage

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

Defined (1)

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

/includes/admin/settings.php  
  1. function bbp_admin_get_settings_sections() { 
  2. return (array) apply_filters( 'bbp_admin_get_settings_sections', array( 
  3. 'bbp_settings_users' => array( 
  4. 'title' => __( 'Forum User Settings', bbpress ),  
  5. 'page' => 'discussion' 
  6. ),  
  7. 'bbp_settings_features' => array( 
  8. 'title' => __( 'Forum Features', bbpress ),  
  9. 'page' => 'discussion' 
  10. ),  
  11. 'bbp_settings_theme_compat' => array( 
  12. 'title' => __( 'Forum Theme Packages', bbpress ),  
  13. 'page' => 'general' 
  14. ),  
  15. 'bbp_settings_per_page' => array( 
  16. 'title' => __( 'Topics and Replies Per Page', bbpress ),  
  17. 'page' => 'reading' 
  18. ),  
  19. 'bbp_settings_per_rss_page' => array( 
  20. 'title' => __( 'Topics and Replies Per RSS Page', bbpress ),  
  21. 'page' => 'reading',  
  22. ),  
  23. 'bbp_settings_root_slugs' => array( 
  24. 'title' => __( 'Forum Root Slug', bbpress ),  
  25. 'page' => 'permalink' 
  26. ),  
  27. 'bbp_settings_single_slugs' => array( 
  28. 'title' => __( 'Single Forum Slugs', bbpress ),  
  29. 'page' => 'permalink',  
  30. ),  
  31. 'bbp_settings_user_slugs' => array( 
  32. 'title' => __( 'Forum User Slugs', bbpress ),  
  33. 'page' => 'permalink',  
  34. ),  
  35. 'bbp_settings_buddypress' => array( 
  36. 'title' => __( 'BuddyPress Integration', bbpress ),  
  37. 'page' => 'buddypress',  
  38. ),  
  39. 'bbp_settings_akismet' => array( 
  40. 'title' => __( 'Akismet Integration', bbpress ),  
  41. 'page' => 'discussion' 
  42. ) );