Uses
Uses | Description |
---|---|
wp-admin/admin-header.php: admin_print_scripts | Fires when scripts are printed for all admin pages. |
wp-includes/plugin.php: do_action() | Execute functions hooked on a specific action hook. |
Calls admin_print_scripts-widgets.php and admin_print_scripts hooks to allow custom scripts from plugins.
File: wp-includes/class-wp-customize-widgets.php
public function print_scripts() { /** This action is documented in wp-admin/admin-header.php */ do_action( 'admin_print_scripts-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores /** This action is documented in wp-admin/admin-header.php */ do_action( 'admin_print_scripts' ); }
Version | Description |
---|---|
3.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_widgets/print_scripts