Astra_Breadcrumb_Schema::disable_schema_before_title()

Disable Schema for Before Title option of Breadcrumb Position.


Description


Return

(void)


Source

File: inc/schema/class-astra-breadcrumb-schema.php

	public function disable_schema_before_title() {
		$breadcrumb_position = astra_get_option( 'breadcrumb-position' );
		$breadcrumb_source   = astra_get_option( 'select-breadcrumb-source' );

		if ( ( 'astra_entry_top' === $breadcrumb_position && ( 'default' === $breadcrumb_source || empty( $breadcrumb_source ) ) ) || ( true !== $this->schema_enabled() ) ) {
			add_filter( 'astra_breadcrumb_trail_args', array( $this, 'breadcrumb_schema' ) );
		}
	}

Changelog

Changelog
Version Description
2.1.3 Introduced.


User Contributed Notes

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