Astra_Enqueue_Scripts::should_load_woocommerce_css()

Check if WooCommerce CSS assets should be loaded based on filter settings


Description


Return

(bool) Whether WooCommerce CSS should be loaded


Source

File: inc/core/class-astra-enqueue-scripts.php

		public static function should_load_woocommerce_css() {
			// Allow users to disable WooCommerce CSS loading on specific pages/posts/post types
			return apply_filters( 'astra_load_woocommerce_css', true );
		}

Changelog

Changelog
Version Description
4.11.13 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.