WP_Customize_Widgets::print_styles() WordPress Method
The WP_Customize_Widgets::print_styles() method is used to enqueue the necessary styles for the Customizer widgets screen.
WP_Customize_Widgets::print_styles() #
Calls admin_print_styles-widgets.php and admin_print_styles hooks to allow custom styles from plugins.
Source
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' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |