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; }
Expand full source code Collapse full source code View on Trac