the_weekday_date хук-фильтр . WP 0.71
Filters the localized date on which the post was written, for display.
Использование
add_filter( 'the_weekday_date', 'filter_function_name_5560', 10, 3 ); function filter_function_name_5560( $the_weekday_date, $before, $after ){ // filter... return $the_weekday_date; }
- $the_weekday_date(строка)
- The weekday on which the post was written.
- $before(строка)
- The HTML to output before the date.
- $after(строка)
- The HTML to output after the date.
Список изменений
С версии 0.71 | Введена. |
Где вызывается хук
the_weekday_date
wp-includes/general-template.php 2863
echo apply_filters( 'the_weekday_date', $the_weekday_date, $before, $after );