Astra_SureCart::disable_page_loaded_banner_area()

Disable Astra’s next page’s banner as we already loaded.


Description


Source

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

	public function disable_page_loaded_banner_area() {
		add_filter( 'astra_apply_hero_header_banner', '__return_false' );
		add_filter( 'astra_remove_entry_header_content', '__return_true' );
		add_filter( 'astra_single_layout_one_banner_visibility', '__return_false' );
	}

Changelog

Changelog
Version Description
4.4.0 Introduced.


User Contributed Notes

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