wpseo_schema_article_keywords_taxonomy

wpseo_schema_article_keywords_taxonomy

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.22.3

apply_filters('wpseo_schema_article_keywords_taxonomy') is found 1 times:

  • /src/generators/schema/article.php line 96
    		 * Filter: 'wpseo_schema_article_keywords_taxonomy' - Allow changing the taxonomy used to assign keywords to a post type Article data.
    		 *
    		 * @param string $taxonomy The chosen taxonomy.
    		 */
    		$taxonomy = \apply_filters( 'wpseo_schema_article_keywords_taxonomy', 'post_tag' );
    
    		return $this->add_terms( $data, 'keywords', $taxonomy );
    	}
    
    	/**
    	 * Adds categories as sections, if categories are assigned.