astra_is_shop_page_modern_style()
Checking whether shop page style is selected as modern layout.
Description
Return
(bool) true|false.
Source
File: inc/compatibility/woocommerce/woocommerce-common-functions.php
function astra_is_shop_page_modern_style() { return ( 'shop-page-modern-style' === astra_get_option( 'shop-style' ) ) ? true : false; }
Expand full source code Collapse full source code View on Trac