Allows the user to insert a hook to WordPress and replace english version of the dates and translate them to their own language.
It uses a modular function that takes as input 3 arguments:
- Months (shorthand)
It then searches for the English versions and replaces them.
- Does the week begin with Sunday?
Yes. Please arrange the array so your week begins in Sunday and ends in Saturday.
- No shorthand for days?
There is no need, date formats take full day name and use shorthand for months.
- Fixed issue with date-translate not intercepting get_date()
- Allows translating by inserting the hook on functions.php