the_weekday
Filters the weekday on which the post was written, for display.
Usage
add_filter( 'the_weekday', 'wp_kama_the_weekday_filter' ); /** * Function for `the_weekday` filter-hook. * * @param string $the_weekday * * @return string */ function wp_kama_the_weekday_filter( $the_weekday ){ // filter... return $the_weekday; }
- $the_weekday(string)
- -
Changelog
Since 0.71 | Introduced. |
Where the hook is called
the_weekday
wp-includes/general-template.php 3004
echo apply_filters( 'the_weekday', $the_weekday );