Astra_Organization_Schema::setup_schema()

Setup schema


Description


Source

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

	public function setup_schema() {

		if ( true !== $this->schema_enabled() ) {
			return false;
		}

		add_filter( 'astra_attr_site-identity', array( $this, 'organization_Schema' ) );
		add_filter( 'astra_attr_site-title', array( $this, 'site_title_attr' ) );
		add_filter( 'astra_attr_site-title-link', array( $this, 'site_title_link_attr' ) );
		add_filter( 'astra_attr_site-title-custom-link', array( $this, 'site_title_custom_link_attr' ) );
		add_filter( 'astra_attr_site-title-sticky-custom-link', array( $this, 'site_title_sticky_custom_link_attr' ) );
		add_filter( 'astra_attr_site-title-none-sticky-custom-link', array( $this, 'site_title_none_sticky_custom_link_attr' ) );
		add_filter( 'astra_attr_site-title-sticky-custom-logo-link', array( $this, 'site_title_sticky_custom_logo_link_attr' ) );
	}

Changelog

Changelog
Version Description
2.1.3 Introduced.


User Contributed Notes

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