WordPress at Your Fingertips
function is not described

Custom_Image_Header::css_includes() public WP 2.7.0

Set up the enqueue for the CSS files

{} It's a method of the class: Custom_Image_Header{}

No Hooks.

Return

null. Nothing.

Usage

$Custom_Image_Header = new Custom_Image_Header();
$Custom_Image_Header->css_includes();

Changelog

Since 2.7.0 Introduced.

Code of Custom_Image_Header::css_includes() WP 5.8.2

public function css_includes() {
	$step = $this->step();

	if ( ( 1 === $step || 3 === $step ) && current_theme_supports( 'custom-header', 'header-text' ) ) {
		wp_enqueue_style( 'wp-color-picker' );
	} elseif ( 2 === $step ) {
		wp_enqueue_style( 'imgareaselect' );
	}
}