gglcptch_add_admin_script_styles

The Google Captcha (reCAPTCHA) by BestWebSoft gglcptch add admin script styles function.

Description

gglcptch_add_admin_script_styles(); 

Usage

  1. if ( !function_exists( 'gglcptch_add_admin_script_styles' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-captcha-recaptcha-by-bestwebsoft/google-captcha.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gglcptch_add_admin_script_styles(); 
  7.  

Defined (1)

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

/google-captcha.php  
  1. function gglcptch_add_admin_script_styles() { 
  2. global $gglcptch_plugin_info; 
  3. if ( isset( $_REQUEST['page'] ) && 'google-captcha.php' == $_REQUEST['page'] ) { 
  4. wp_enqueue_style( 'gglcptch_stylesheet', plugins_url( 'css/style.css', __FILE__ ), array(), $gglcptch_plugin_info['Version'] ); 
  5. wp_enqueue_script( 'gglcptch_admin_script', plugins_url( 'js/admin_script.js', __FILE__ ), array( 'jquery' ), $gglcptch_plugin_info['Version'] ); 
  6.  
  7. bws_enqueue_settings_scripts(); 
  8.  
  9. if ( isset( $_GET['action'] ) && 'custom_code' == $_GET['action'] ) { 
  10. bws_plugins_include_codemirror();