the_weekday
Filters the weekday on which the post was written, for display.
Использование
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(строка)
- -
Список изменений
С версии 0.71 | Введена. |
Где вызывается хук
the_weekday
wp-includes/general-template.php 3003
echo apply_filters( 'the_weekday', $the_weekday );