関数 the_weekday()
関数 the_weekday()
| function the_weekday() { global $wp_locale; $the_weekday = $wp_locale->get_weekday( mysql2date( 'w', get_post()->post_date, false ) ); $the_weekday = apply_filters( 'the_weekday', $the_weekday ); echo $the_weekday; } |
- 関数