src/Asset/Asset.php
protected function enqueueStyle()
    {
        wp_enqueue_style(
            $this->getHandle(),
            $this->getUrl(),
            $this->getDependencies(),
            $this->getVersion(),
            $this->getArgument()
        );

        if (! empty($this->inline)) {
            foreach ($this->inline as $code) {
                wp_add_inline_style($this->getHandle(), $code['code']);
            }
        }
    }
protected function enqueueStyle()
    {
        wp_enqueue_style(
            $this->getHandle(),
            $this->getUrl(),
            $this->getDependencies(),
            $this->getVersion(),
            $this->getArgument()
        );

        if (! empty($this->inline)) {
            foreach ($this->inline as $code) {
                wp_add_inline_style($this->getHandle(), $code['code']);
            }
        }
    }
protected function enqueueStyle ( ) { wp_enqueue_style ( $ this -> getHandle ( ) , $ this -> getUrl ( ) , $ this -> getDependencies ( ) , $ this -> getVersion ( ) , $ this -> getArgument ( ) ) ; if ( ! empty ( $ this -> inline ) ) { foreach ( $ this -> inline as $ code ) { wp_add_inline_style ( $ this -> getHandle ( ) , $ code [ 'code' ] ) ; } } }
Enqueue a style asset.
Enqueue a style asset .