experiments->is_feature_active( 'e_optimized_css_loading' ) === false) { $showMessage = true; } } catch (\Exception $e) { // Well, just bad luck. } } if ($showMessage) { DismissableMessages::printDismissableMessage( 'info', '

' . 'You see this message because you using Elementor, you rely solely on Alter HTML for webp, and Elementor is currently set up to use external css. ' . 'You might want to reconfigure Elementor so it inlines the CSS. This will allow Alter HTML to replace the image urls of backgrounds. ' . 'To reconfigure, go to Elementor > Settings > Experiments and activate "Improved CSS Loading". ' . 'Note: This requires that Alter HTML is configured to "Replace image URLs". ' . 'For more information, ' . 'head over here' . '

', '0.23.0/elementor', 'Got it!' ); } else { DismissableMessages::dismissMessage('0.23.0/elementor'); }