Astra_SureCart::sc_shop_content_boxed_layout( string $is_style_boxed )

SureCart Shop Container Style


Description


Parameters

$is_style_boxed

(string) (Required) Layout style.


Return

(string) $is_style_boxed Layout style.


Source

File: inc/compatibility/surecart/class-astra-surecart.php

	public function sc_shop_content_boxed_layout( $is_style_boxed ) {
		if ( $this->astra_is_surecart_shop_page() ) {
			$sc_shop_layout_style = astra_get_option( 'archive-' . $this->post_type . '-content-style', 'default' );

			if ( 'boxed' === $sc_shop_layout_style ) {
				$is_style_boxed = true;
			}
		}

		return apply_filters( 'astra_get_store_layout_style', $is_style_boxed );
	}

Changelog

Changelog
Version Description
4.4.0 Introduced.


User Contributed Notes

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