/** * Add Inline CSS * * @return void */ public function add_inline_css() { /** * Inline Dynamic CSS * This is here because we need it after all Avada CSS * and W3TC can combine it incorrectly */ if ('inline' == $this->mode()) { echo "<style id='avada-stylesheet-inline-css' type='text/css'>" . avada_dynamic_css_cached() . '</style>'; } }
/** * Add Inline CSS * * @return void */ public function add_inline_css() { global $wp_customize; // Inline Dynamic CSS // This is here because we need it after all Avada CSS // and W3TC can combine it incorrectly if ('inline' == self::$mode || $wp_customize) { echo "<style id='avada-stylesheet-inline-css' type='text/css'>" . avada_dynamic_css_cached() . '</style>'; } }