Custom_Image_Header::css_includes()
Sets up the enqueue for the CSS files.
Method of the class: Custom_Image_Header{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Custom_Image_Header = new Custom_Image_Header(); $Custom_Image_Header->css_includes();
Changelog
Since 2.7.0 | Introduced. |
Custom_Image_Header::css_includes() Custom Image Header::css includes code WP 6.8
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' ); } }