Un motore di ricerca WordPress per sviluppatori e autori di temi



the_weekday ›

Da0.71
Deprecaton/a
the_weekday ( Nessun parametro )
Definito a:
Codex:

Display the weekday on which the post was written.



Sorgenti

function the_weekday() {
	global $wp_locale;
	$the_weekday = $wp_locale->get_weekday( mysql2date( 'w', get_post()->post_date, false ) );

	/**
	 * Filters the weekday on which the post was written, for display.
	 *
	 * @since 0.71
	 *
	 * @param string $the_weekday
	 */
	echo apply_filters( 'the_weekday', $the_weekday );
}