Astra_Ext_Advanced_Headers_Markup::disable_breadcrumb_page_header( boolean $status )

Disable breadcrumb if Page Header already has Breadcrumb enabled.


Description


Parameters

$status

(boolean) (Required) checks ruleset value.


Return

(boolean)


Source

File: addons/advanced-headers/classes/class-astra-ext-advanced-headers-markup.php

		public function disable_breadcrumb_page_header( $status ) {
			$show_breadcrumb = Astra_Ext_Advanced_Headers_Loader::astra_advanced_headers_layout_option( 'breadcrumb' );
			if ( $show_breadcrumb ) {
				$status = false;
			}
			return $status;
		}


User Contributed Notes

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