Add CSS minification, AJAX settings, and modern admin styling

This commit is contained in:
Marcus Quinn
2025-03-13 00:47:22 +00:00
parent 77cee1844a
commit b7a1a2889f
3 changed files with 11 additions and 3 deletions

View File

@ -17,7 +17,6 @@ function wpa_superstar_lazy_load_images( $content ) {
add_filter( 'the_content', 'wpa_superstar_lazy_load_images' );
add_filter( 'wp_get_attachment_image', 'wpa_superstar_lazy_load_images' );
// After lazy load function
function wpa_superstar_minify_css( $html ) {
if ( is_admin() || ! get_option( 'wpa_superstar_minify_css', 0 ) ) {
return $html;