Created
October 25, 2013 05:59
-
-
Save funteractive/7150031 to your computer and use it in GitHub Desktop.
管理画面で設定した日付+時刻のフォーマットを取得
This file contains hidden or 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 get_option_datetime_format(){ | |
$date_format = get_option( 'date_format' ); | |
$time_format = get_option( 'time_format' ); | |
$format = $date_format . ' ' . $time_format; | |
return $format; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment