get(); $inline_styles_added = false; // used for add inline styles foreach ( $styles['src'] as $name => $style ) { wp_enqueue_style("wpdreams-asl-$name", $style, array(), ASL_CURR_VER_STRING); if ( !$inline_styles_added && $styles['inline'] !== '' ) { wp_add_inline_style( "wpdreams-asl-$name", Html::escCSS($styles['inline']) ); $inline_styles_added = true; } } } return true; } /** * Echos the inline CSS if available */ public function inlineCSS() { } // ------------------------------------------------------------ // ---------------- SINGLETON SPECIFIC -------------------- // ------------------------------------------------------------ /** * Static instance storage * * @var self */ protected static $_instance; public static function getInstance() { if ( ! ( self::$_instance instanceof self ) ) { self::$_instance = new self(); } return self::$_instance; } } }