admin_enqueue_scripts
Enqueue scripts for all admin pages.
Description
Parameters (1)
- 0. $gde_admin_beta_js_update (string) =>
'gde_admin_beta_js_update'
- The gde admin beta js update.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'admin_enqueue_scripts', $gde_admin_beta_js_update );
- The following example is for adding a hook callback.
- // define the admin_enqueue_scripts callback
- function action_admin_enqueue_scripts( $gde_admin_beta_js_update ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'admin_enqueue_scripts', 'action_admin_enqueue_scripts', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'admin_enqueue_scripts', 'action_admin_enqueue_scripts', 10, 1 );
Defined (2)
The action is defined in the following location(s).
- /gviewer.php
- add_action( 'admin_enqueue_scripts', 'gde_admin_beta_js_update' );
- /functions-admin.php
- add_action( 'admin_enqueue_scripts', 'gde_admin_custom_js' );