Uses
Uses | Description |
---|---|
wp-admin/admin-header.php: admin_print_styles | Fires when styles are printed for all admin pages. |
wp-includes/plugin.php: do_action() | Execute functions hooked on a specific action hook. |
Calls admin_print_styles-widgets.php and admin_print_styles hooks to allow custom styles from plugins.
File: wp-includes/class-wp-customize-widgets.php
public function print_styles() { /** This action is documented in wp-admin/admin-header.php */ do_action( 'admin_print_styles-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores /** This action is documented in wp-admin/admin-header.php */ do_action( 'admin_print_styles' ); }
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_styles