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 );
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 4.11.13 | Introduced. |