customize_controls_print_styles хук-событиеWP 3.4.0

Fires when Customizer control styles are printed.

Использование

add_action( 'customize_controls_print_styles', 'wp_kama_customize_controls_print_styles_action' );

/**
 * Function for `customize_controls_print_styles` action-hook.
 * 
 * @return void
 */
function wp_kama_customize_controls_print_styles_action(){

	// action...
}

Список изменений

С версии 3.4.0 Введена.

Где вызывается хук

В файле: /wp-admin/customize.php
customize_controls_print_styles
wp-admin/customize.php 167
do_action( 'customize_controls_print_styles' );

Где используется хук в WordPress

wp-admin/customize.php 105
add_action( 'customize_controls_print_styles', 'print_admin_styles', 20 );
wp-includes/class-wp-customize-widgets.php 116
add_action( 'customize_controls_print_styles', array( $this, 'print_styles' ) );
wp-includes/customize/class-wp-customize-site-icon-control.php 44
add_action( 'customize_controls_print_styles', 'wp_site_icon', 99 );
wp-includes/default-filters.php 572
add_filter( 'customize_controls_print_styles', 'wp_resource_hints', 1 );