gde_admin_print_scripts

The Google Doc Embedder gde admin print scripts function.

Description

gde_admin_print_scripts( $arg ); 

Parameters (1)

0. $arg
The arg.

Usage

  1. if ( !function_exists( 'gde_admin_print_scripts' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-doc-embedder/functions-admin.php'; 
  3.  
  4. // The arg. 
  5. $arg = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = gde_admin_print_scripts($arg); 
  9.  

Defined (1)

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

/functions-admin.php  
  1. function gde_admin_print_scripts( $arg ) { 
  2. global $pagenow; 
  3. if (is_admin() && ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) ) { 
  4. $js = GDE_PLUGIN_URL . 'js/gde-quicktags.js'; 
  5. wp_enqueue_script( 'gde_qts', $js, array('quicktags') );