Calls admin_print_scripts-widgets.php and admin_print_scripts hooks to allow custom scripts from plugins.
Source
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' );
}
Hooks
- do_action( ‘admin_print_scripts’ )
Fires when scripts are printed for all admin pages.
Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.