gl_content_lock_default_settings

The Google Locker for WordPress gl content lock default settings function.

Description

gl_content_lock_default_settings(); 

Usage

  1. if ( !function_exists( 'gl_content_lock_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_content_lock_default_settings(); 
  7.  

Defined (1)

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

/admin/init.php  
  1. function gl_content_lock_default_settings( ) { 
  2. $content_lock_default_settings = array( 
  3. 'cl_title' => 'This content is locked!',  
  4. 'cl_message' => 'This is Google Locker. Please click on one of the buttons.',  
  5. 'cl_style' => 'starter',  
  6. 'cl_title_color' => '#000000',  
  7. 'cl_message_color' => '#000000',  
  8. 'cl_bg_color' => '#22d8d2',  
  9. 'cl_shadow_color' => '#22d8d2',  
  10. 'cl_layout' => 'count',  
  11. 'cl_btn_effect' => 'fade' 
  12. ); 
  13.  
  14. return $content_lock_default_settings;