remove timestamps metadata
-
Hi,
I understand it would be possible to disable some of the metada that is added to the head and body sections, by using some code in functions.php, like this:
function customize_remove_timestamp_metatag( $metatags ) { unset($metatags[X]); unset($metatags[Y]); // add as many unset commands as there are timestamp metatags return $metatags; } add_filter( 'amt_schemaorg_metadata_head', 'customize_remove_timestamp_metatag', 10, 1 ); add_filter( 'amt_schemaorg_metadata_body', 'customize_remove_timestamp_metatag', 10, 1 );
Is that right (for head AND body)? And, please: what are the X, Y, etc, values for all the timestamp metatags, specially:
copyrightYear, dateModified, datePublished, dcterms.modified, dcterms.available, dcterms.created
and for attachmentscontentUrl, thumbnailUrl
?Thanks a lot.
- The topic ‘remove timestamps metadata’ is closed to new replies.