Custom_Image_Header::css_includes()

In this article

Sets up the enqueue for the CSS files.

Source

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

Changelog

VersionDescription
2.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.