Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Make date format filterable #1347
For at least current_date, if not post_date as well: https://github.com/semperfiwebdesign/all-in-one-seo-pack/blob/master/aioseop_class.php#L2084
Either as a single filter or as multiple filters.
@michaeltorbert I have 2 questions:
This means if we do
this will end up modifying format w.r.t to the format of the locale (https://core.trac.wordpress.org/browser/tags/4.8/src/wp-includes/functions.php#L103)
on the other hand, get_the_date() is a lot more straightforward. So the user has to be made aware of the above fact. Alternatively, both functions have their own native filters which users can use. Suggestions?
added a commit
Mar 16, 2018
@wpsmort you can use this