Astra_Person_Schema::setup_schema()
Setup schema
Description
Source
File: inc/schema/class-astra-person-schema.php
public function setup_schema() { if ( true !== $this->schema_enabled() ) { return false; } add_filter( 'astra_attr_post-meta-author', array( $this, 'person_Schema' ) ); add_filter( 'astra_attr_author-name', array( $this, 'author_name_schema_itemprop' ) ); add_filter( 'astra_attr_author-url', array( $this, 'author_url_schema_itemprop' ) ); add_filter( 'astra_attr_author-name-info', array( $this, 'author_name_info_schema_itemprop' ) ); add_filter( 'astra_attr_author-url-info', array( $this, 'author_info_url_schema_itemprop' ) ); add_filter( 'astra_attr_author-item-info', array( $this, 'author_item_schema_itemprop' ) ); add_filter( 'astra_attr_author-desc-info', array( $this, 'author_desc_schema_itemprop' ) ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
2.1.3 | Introduced. |