Astra_Site_Navigation_Schema::site_navigation_schema( array $attr )

Update Schema markup attribute.


Description


Parameters

$attr

(array) (Required) An array of attributes.


Return

(array) Updated embed markup.


Source

File: inc/schema/class-astra-site-navigation-schema.php

	public function site_navigation_schema( $attr ) {
		$attr['itemtype']  = 'https://schema.org/SiteNavigationElement';
		$attr['itemscope'] = 'itemscope';

		return $attr;
	}

User Contributed Notes

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