-
-
Save theukedge/0d77f65dc5930f7e2e6d to your computer and use it in GitHub Desktop.
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
<?php function displaydate() { | |
setlocale( LC_TIME, 'ro_RO.UTF-8' ); | |
return strftime( 'F jS, Y' ); | |
} | |
add_shortcode( 'date', 'displaydate' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment