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
if ( !function_exists( 'gde_admin_print_scripts' ) ) { require_once ABSPATH . PLUGINDIR . 'google-doc-embedder/functions-admin.php'; } // The arg. $arg = null; // NOTICE! Understand what this does before running. $result = gde_admin_print_scripts($arg);
Defined (1)
The function is defined in the following location(s).
- /functions-admin.php
- function gde_admin_print_scripts( $arg ) {
- global $pagenow;
- if (is_admin() && ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) ) {
- $js = GDE_PLUGIN_URL . 'js/gde-quicktags.js';
- wp_enqueue_script( 'gde_qts', $js, array('quicktags') );
- }
- }