eewee_get_default_options

The Eewee responsive design eewee get default options function.

Description

eewee_get_default_options(); 

Usage

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

Defined (1)

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

/includes/admin/theme-admin.php  
  1. function eewee_get_default_options() { 
  2. $options = array(); 
  3.  
  4. // Fetch all Tabs from theme-settings.php 
  5.  
  6. foreach( $tabs as $tab => $name ) : 
  7.  
  8. $eewee_settings = eewee_get_settings($tab); 
  9. foreach ($eewee_settings as $setting) : 
  10.  
  11. if ( $setting['type'] != 'multicheckbox' ) : 
  12. $options[$setting['id']] = $setting['std']; 
  13. else : 
  14. foreach ( $setting['choices'] as $value => $label ) { 
  15. $checkbox = $setting['id'] . '_' . $value;  
  16. $options[$checkbox] = $setting['std'];  
  17. endif; 
  18. endforeach; 
  19.  
  20. endforeach; 
  21.  
  22. return $options;