the_weekday

Definition:
function the_weekday() {}

Display the weekday on which the post was written.

Defined filters

  • the_weekday
    apply_filters('the_weekday', $the_weekday)

Source code

function the_weekday() {

	global $wp_locale, $post;

	$the_weekday = $wp_locale->get_weekday(mysql2date('w', $post->post_date, false));

	$the_weekday = apply_filters('the_weekday', $the_weekday);

	echo $the_weekday;

}

3057

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: