Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Hi making a simple plugin that replaces the wrong russian month with the right ones. But I can't find any filters that works.

I have tried these filters without success:

add_filter('get_the_modified_date', 'russian-month');
add_filter('the_modified_date', 'russian-month');
add_filter('date_rewrite_rules', 'russian-month');

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You can use add_filter('the_time', 'your_function'); or add_filter('the_date', 'your_function'); depending on which function you use in your theme.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.