gl_general_default_settings

The Google Locker for WordPress gl general default settings function.

Description

gl_general_default_settings(); 

Usage

  1. if ( !function_exists( 'gl_general_default_settings' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-locker-for-wordpress/admin/init.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gl_general_default_settings(); 
  7.  

Defined (1)

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

/admin/init.php  
  1. function gl_general_default_settings( ) { 
  2. $general_default_settings = array( 
  3. 'google_active' => '',  
  4. 'google_share' => '',  
  5. 'google_url' => 'http://www.wptp.net',  
  6. 'youtube_active' => '',  
  7. 'youtube_channel' => 'GoogleDevelopers',  
  8. 'language' => 'en_US',  
  9. 'short_language' => 'en',  
  10. 'cookie_days' => '365' 
  11. ); 
  12.  
  13. return $general_default_settings;