wpseo_schema_article_type

wpseo_schema_article_type

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-seo.23.9

apply_filters('wpseo_schema_article_type') is found 2 times:

  • /src/context/meta-tags-context.php line 575
    			 *
    			 * @param string|string[] $type      The Article type.
    			 * @param Indexable       $indexable The indexable.
    			 */
    			return \apply_filters( 'wpseo_schema_article_type', $additional_type, $this->indexable );
    		}
    
    		$type = 'Article';
    
    		/*
    		 * If `None` is set (either on the indexable or as a default), set type to 'None'.
    
  • /src/context/meta-tags-context.php line 593
    			$type = [ $type, $additional_type ];
    		}
    
    		// Filter documented on line 499 above.
    		return \apply_filters( 'wpseo_schema_article_type', $type, $this->indexable );
    	}
    
    	/**
    	 * Returns the main schema id.
    	 *
    	 * The main schema id.
    

See this hook used in plugins: