ddw_wcde_get_default_options

Set/ get the default option values for this plugin's settings.

Description

ddw_wcde_get_default_options(); 

Usage

  1. if ( !function_exists( 'ddw_wcde_get_default_options' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-german-de_de/includes/wcde-settings-defaults.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = ddw_wcde_get_default_options(); 
  7.  

Defined (1)

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

/includes/wcde-settings-defaults.php  
  1. function ddw_wcde_get_default_options() { 
  2.  
  3. $wcde_default_values = apply_filters( 
  4. 'wcde_filter_get_default_options',  
  5. array( 
  6. 'wcde_german_formal' => ( get_option( 'woocommerce_informal_localisation_type' ) ) ? get_option( 'woocommerce_informal_localisation_type' ) : 'yes',  
  7. 'wcde_loading_location' => 'global',  
  8. 'wcde_load_extensions' => 'yes',  
  9. 'wcde_load_string_swaps' => 'yes',  
  10. 'wcde_load_admin_string_swaps' => 'yes' 
  11. ) // end of array 
  12.  
  13. ); // end filter 
  14.  
  15. /** Return the settings defaults */ 
  16. return $wcde_default_values; 
  17.  
  18. } // end of function ddw_wcde_get_default_options