docs/files/class-my-theme-kirki.php
public function enqueue_styles() {

		// If Kirki exists there's no need to proceed any further.
		if ( class_exists( 'Kirki' ) ) {
			return;
		}

		// Get our inline styles.
		$styles = $this->get_styles();

		// If we have some styles to add, add them now.
		if ( ! empty( $styles ) ) {

			// Enqueue the theme's style.css file.
			$current_theme = ( wp_get_theme() );
			wp_enqueue_style( $current_theme->stylesheet . '_no-kirki', get_stylesheet_uri(), array(), '1.0' );
			wp_add_inline_style( $current_theme->stylesheet . '_no-kirki', $styles );
		}
	}
public function enqueue_styles() {

		// If Kirki exists there's no need to proceed any further.
		if ( class_exists( 'Kirki' ) ) {
			return;
		}

		// Get our inline styles.
		$styles = $this->get_styles();

		// If we have some styles to add, add them now.
		if ( ! empty( $styles ) ) {

			// Enqueue the theme's style.css file.
			$current_theme = ( wp_get_theme() );
			wp_enqueue_style( $current_theme->stylesheet . '_no-kirki', get_stylesheet_uri(), array(), '1.0' );
			wp_add_inline_style( $current_theme->stylesheet . '_no-kirki', $styles );
		}
	}
public function enqueue_styles ( ) { // If Kirki exists there's no need to proceed any further. if ( class_exists ( 'Kirki' ) ) { return ; } // Get our inline styles. $ styles = $ this -> get_styles ( ) ; // If we have some styles to add, add them now. if ( ! empty ( $ styles ) ) { // Enqueue the theme's style.css file. $ current_theme = ( wp_get_theme ( ) ) ; wp_enqueue_style ( $ current_theme -> stylesheet . '_no-kirki' , get_stylesheet_uri ( ) , array ( ) , '1.0' ) ; wp_add_inline_style ( $ current_theme -> stylesheet . '_no-kirki' , $ styles ) ; } }
Enqueues the stylesheet.

@access public
@return null
Enqueues the stylesheet .