wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
the_weekday › WordPress Function
Seit0.71
Veraltetn/v
› the_weekday ( Keine Parameter )
| Definiert in: |
|
| Codex: |
Displays the localized weekday for the post.
Quellcode
function the_weekday() {
global $wp_locale;
$post = get_post();
if ( ! $post ) {
return;
}
$the_weekday = $wp_locale->get_weekday( get_post_time( 'w', false, $post ) );
/**
* Filters the localized weekday of the post, for display.
*
* @since 0.71
*
* @param string $the_weekday
*/
echo apply_filters( 'the_weekday', $the_weekday );
}