Created
May 20, 2024 11:57
-
-
Save wp-seopress/fcd02282eaba245955ec4316517b919d to your computer and use it in GitHub Desktop.
Filter the post date format in HTML sitemap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('seopress_sitemaps_html_post_date_format', 'sp_sitemaps_html_post_date_format'); | |
function sp_sitemaps_html_post_date_format($date_format) { | |
$date_format = 'j F Y'; | |
return $date_format; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment