関数 the_weekday_date()
2014/12/25
関数 the_weekday_date()
定義ファイル :/blog/wp-includes/general-template.php 5
1 2 3 4 5 6 7 8 9 10 11 12 13 | function the_weekday_date($before='',$after='') { global $wp_locale, $currentday, $previousweekday; $the_weekday_date = ''; if ( $currentday != $previousweekday ) { $the_weekday_date .= $before; $the_weekday_date .= $wp_locale->get_weekday( mysql2date( 'w', get_post()->post_date, false ) ); $the_weekday_date .= $after; $previousweekday = $currentday; } $the_weekday_date = apply_filters( 'the_weekday_date', $the_weekday_date, $before, $after ); echo $the_weekday_date; } |