-
Hi,
How can I change this filter to shema type “Article” and article type “News Article”. I would appreciate if you can give me the working code. Thank you.**
* Filter to change the schema data.
* Replace $schmea_type with schema name like article, review, etc.
* @param array $entity Snippet Data
* @return array
*/
add_filter( “rank_math/snippet/rich_snippet_{$schema}_entity”, function( $entity ) {
return $entity;
});
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The ticket ‘Filter to change Front-end Schema data’ is closed to new replies.