Action hook 'customize_controls_head'

in WP Core File wp-admin/customize.php at line 185

View Source

customize_controls_head

Action Hook
Description
Fires in head section of Customizer controls.

Hook Information

File Location wp-admin/customize.php View on GitHub
Hook Type Action
Line Number 185

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

Basic Usage
<?php
// Hook into customize_controls_head
add_action('customize_controls_head', 'my_custom_function');

function my_custom_function() {
    // Your custom code here
}

Source Code Context

wp-admin/customize.php:185 - How this hook is used in WordPress core
<?php
 180  /**
 181   * Fires in head section of Customizer controls.
 182   *
 183   * @since 5.5.0
 184   */
 185  do_action( 'customize_controls_head' );
 186  ?>
 187  </head>
 188  <body class="<?php echo esc_attr( $body_class ); ?>">
 189  <div class="wp-full-overlay expanded">
 190  	<form id="customize-controls" class="wrap wp-full-overlay-sidebar">

PHP Documentation

<?php
/**
 * Fires in head section of Customizer controls.
 *
 * @since 5.5.0
 */
Quick Info
  • Hook Type: Action
  • Parameters: 0
  • File: wp-admin/customize.php
Related Hooks

Related hooks will be displayed here in future updates.