Created
August 20, 2014 20:15
-
-
Save mopx/e2f4b652c11f1f84829d to your computer and use it in GitHub Desktop.
Add this to your functions.php file
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('option_date_format', 'translate_date_format'); | |
function translate_date_format($format) { | |
if (function_exists('icl_translate')) | |
$format = icl_translate('Formats', $format, $format); | |
return $format; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment