Astra_SureCart::astra_surecart_hero_section()
SureCart Hero Section.
Description
Source
File: inc/compatibility/surecart/class-astra-surecart.php
public function astra_surecart_hero_section() { if ( false === apply_filters( 'astra_apply_hero_header_banner', true ) ) { return; } $args = array( 'post_type' => $this->post_type ); do_action( 'astra_before_archive_' . $this->post_type . '_banner_content' ); get_template_part( 'template-parts/archive', 'banner', $args ); do_action( 'astra_after_archive_' . $this->post_type . '_banner_content' ); $this->disable_page_loaded_banner_area(); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |