web_dor_update_general_settings

The Business Responsive web dor update general settings function.

Description

web_dor_update_general_settings(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function web_dor_update_general_settings() 
  2.  
  3. global $dor_general_settings_page; 
  4.  
  5. foreach ($dor_general_settings_page->options_generalsettings as $value) { 
  6.  
  7. if (get_theme_mod($value['id']) === FALSE) { 
  8. $$value['id'] = $value['std']; 
  9. } else { 
  10. $$value['id'] = get_theme_mod($value['id']); 
  11.