Astra_SureCart::__construct()
Constructor
Description
Source
File: inc/compatibility/surecart/class-astra-surecart.php
public function __construct() { $this->shop_page_id = absint( get_option( 'surecart_shop_page_id' ) ); add_action( 'astra_header_after', array( $this, 'astra_surecart_archive_page_banner_support' ) ); add_action( 'astra_entry_top', array( $this, 'revert_surecart_support' ) ); add_filter( 'astra_page_layout', array( $this, 'sc_shop_sidebar_layout' ) ); add_filter( 'astra_get_content_layout', array( $this, 'sc_shop_content_layout' ) ); // Boxed layout support. add_filter( 'astra_is_content_layout_boxed', array( $this, 'sc_shop_content_boxed_layout' ) ); add_filter( 'astra_is_sidebar_layout_boxed', array( $this, 'sc_shop_sidebar_boxed_layout' ) ); }
Expand full source code Collapse full source code View on Trac