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' );
	}


Top ↑

Changelog

Changelog
VersionDescription
3.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More