{>IShB8IW^iDSS pending jobsWP Rocket Settin @Q v*WhB8IW^iDseparate cache files to serve yo C v*WhB8IW@^iD that provide immediate benefits BSK8$ ȒBj^Rɍ_"B fetch the current price because RocketCDN API returned an unexpected error code.We couldn't generate the used CSS because you're using a nulled version of WP Rocket. You need an acti E ͏K8$ ȒBj^Rɍ_"B^iDbP CompatibilityWebP cache is d I{>IShB8IW^iDngs are activeWordPress %1$s. T F{>IShBordPress version number:Would you allow WP Rocket to collect non-sensitive diagnostic data from this website?Yes, allowYes, apply "%1$sSafe Mode%2$s"Yoast SEO XML sitemapYou are using %1$s to convert images to W IXK8$ ȒBj^Rɍ_"BIf you want WP Rocket to serve them for you, activate this option. %2$sMore info%3$sYou are using %1$s to convert images to WebP. WP Rocket will create separate cache files to serve y H8Ώ eparate cache files to serve your WebP images. %2$sMore info%3$sYou are using %1$s to serve WebP images so you do not need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for JQ͏A need to enable this option. %2$sMore info%3$s %4$s If you prefer to have WP Rocket serve WebP for you instead, please disable WebP display in %1$s.You can no longer use the Remove Unused CSS or Load CSS asynchronou MΏK8$ ȒBj^Rɍ_"Bs by upgrading your license (you will only pay the price difference between your current and new licenses).You can use WP Rocket on more websites by upgrading your license. To upgrade LΏ{ʷ0N78iter if you had access to our %1$snew features and enhancements%2$s. 🚀You have added as many sites as your current license allows.You have not activated logged-in user cache.You n OÏK8$ ȒBj^Rɍ_"B^iDation and improves your page perͥ Qnts ) ); } if ( is_array( $variants ) ) { $key = array_search( 'inherit', $variants ); if ( false !== $key ) { unset( $variants[ $key ] ); if ( ! in_array( 400, $variants ) ) { $variants[] = 400; } } } elseif ( 'inherit' == $variants ) { $variants = 400; } if ( isset( self::$fonts[ $name ] ) ) { foreach ( (array) $variants as $variant ) { if ( ! in_array( $variant, self::$fonts[ $name ]['variants'] ) ) { self::$fonts[ $name ]['variants'][] = $variant; } } } else { self::$fonts[ $name ] = array( 'variants' => (array) $variants, ); } } /** * Get fonts * * @return array */ public static function get_fonts() { do_action( 'inspiro/get_fonts' ); return apply_filters( 'inspiro/add_fonts', self::$fonts ); } /** * Get google font url * * @return string */ public static function get_google_font_url() { return self::$google_font_url; } /** * Renders the tag for all fonts in the $fonts array. * * @since 1.3.0 * @return void */ public static function render_fonts() { $font_list = apply_filters( 'inspiro/render_fonts', self::get_fonts() ); $google_fonts = array(); $font_subset = array(); $system_fonts = Inspiro_Font_Family_Manager::get_system_fonts(); foreach ( $font_list as $name => $font ) { if ( ! empty( $name ) && ! isset( $system_fonts[ $name ] ) ) { // Add font variants. $google_fonts[ $name ] = $font['variants']; // Add Subset. $subset = apply_filters( 'inspiro/font_subset', '', $name ); if ( ! empty( $subset ) ) { $font_subset[] = $subset; } } } self::$google_font_url = self::google_fonts_url( $google_fonts, $font_subset ); wp_enqueue_style( 'inspiro-google-fonts', self::$google_font_url, array(), INSPIRO_THEME_VERSION, 'all' ); } /** * Google Font URL * Combine multiple google font in one URL * * @link https://shellcreeper.com/?p=1476 * @param array $fonts Google Fonts array. * @param array $subsets Font's Subsets array. * * @return string */ public static function google_fonts_url( $fonts, $subsets = array() ) { /* URL */ $base_url = '//fonts.googleapis.com/css'; $font_args = array(); $family = array(); $fonts = apply_filters( 'inspiro/google_fonts_selected', $fonts ); /* Format Each Font Family in Array */ foreach ( $fonts as $font_name => $font_weight ) { $font_name = str_replace( ' ', '+', $font_name ); if ( ! empty( $font_weight ) ) { if ( is_array( $font_weight ) ) { $font_weight = implode( ',', $font_weight ); } $font_family = explode( ',', $font_name ); $font_family = str_replace( "'", '', inspiro_get_prop( $font_family, 0 ) ); $family[] = trim( $font_family . ':' . rawurlencode( trim( $font_weight ) ) ); } else { $family[] = trim( $font_name ); } } /* Only return URL if font family defined. */ if ( ! empty( $family ) ) { /* Make Font Family a String */ $family = implode( '|', $family ); /* Add font family in args */ $font_args['family'] = $family; /* Add font subsets in args */ if ( ! empty( $subsets ) ) { /* format subsets to string */ if ( is_array( $subsets ) ) { $subsets = implode( ',', $subsets ); } $font_args['subset'] = rawurlencode( trim( $subsets ) ); } $font_args['display'] = 'swap'; return add_query_arg( $font_args, $base_url ); } return ''; } } } /** * Kicking this off by calling 'get_instance()' method */ Inspiro_Fonts_Manager::get_instance();