[ad_1]
Hello @mahdisa,
Thank you so much for getting in touch.
You can make use of our Schema template to apply the variable you mentioned globally but our Schema template is only available in our PRO version.
If you wish to make use of the filter, you may refer to this code instead:add_filter( "rank_math/snippet/rich_snippet_videoobject_entity", function( $entity ) { $entity['uploadDate'] = 'YOUR_DATE_HERE'; return $entity; }); add_filter( "rank_math/snippet/rich_snippet_article_entity", function( $entity ) { $entity['datePublished'] = 'YOUR_DATE_HERE'; $entity['dateModified'] = 'YOUR_DATE_HERE'; return $entity; });
You may refer to this guide on how to add filters to your website:
Hope that helps.
