eewee_get_sections

The Eewee responsive design eewee get sections function.

Description

eewee_get_sections( $tab ); 

Parameters (1)

0. $tab
The tab.

Usage

  1. if ( !function_exists( 'eewee_get_sections' ) ) { 
  2. require_once '/includes/admin/theme-functions.php'; 
  3.  
  4. // The tab. 
  5. $tab = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = eewee_get_sections($tab); 
  9.  

Defined (1)

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

/includes/admin/theme-functions.php  
  1. function eewee_get_sections($tab) { 
  2.  
  3. // Get Section 
  4. switch ( $tab ) { 
  5. case 'general' : 
  6. locate_template('/includes/admin/options/options-general.php', true); 
  7. $eewee_sections = eewee_get_general_sections(); 
  8. break; 
  9. case 'carousel' : 
  10. locate_template('/includes/admin/options/options-carousel.php', true); 
  11. $eewee_sections = eewee_get_carousel_sections(); 
  12. break; 
  13. case 'colors' : 
  14. locate_template('/includes/admin/options/options-colors.php', true); 
  15. $eewee_sections = eewee_get_colors_sections(); 
  16. break; 
  17. case 'fonts' : 
  18. locate_template('/includes/admin/options/options-fonts.php', true); 
  19. $eewee_sections = eewee_get_fonts_sections(); 
  20. break; 
  21. case 'about' : 
  22. locate_template('/includes/admin/options/options-about.php', true); 
  23. $eewee_sections = eewee_get_about_sections(); 
  24. break; 
  25. case 'slider' : 
  26. locate_template('/includes/admin/options/options-slider.php', true); 
  27. $eewee_sections = eewee_get_slider_sections(); 
  28. break; 
  29. case 'social' : 
  30. locate_template('/includes/admin/options/options-social.php', true); 
  31. $eewee_sections = eewee_get_social_sections(); 
  32. break; 
  33. case 'address' : 
  34. locate_template('/includes/admin/options/options-address.php', true); 
  35. $eewee_sections = eewee_get_address_sections(); 
  36. break; 
  37. default : 
  38. locate_template('/includes/admin/options/options-general.php', true); 
  39. $eewee_sections = eewee_get_general_sections(); 
  40. }// switch 
  41.  
  42. return $eewee_sections;