previous_posts_link_attributes хук-фильтр . WP 2.7.0
Filters the anchor tag attributes for the previous posts page link.
Использование
add_filter( 'previous_posts_link_attributes', 'filter_function_name_6525' ); function filter_function_name_6525( $attributes ){ // filter... return $attributes; }
- $attributes(строка)
- Attributes for the anchor tag.
Список изменений
С версии 2.7.0 | Введена. |
Где вызывается хук
previous_posts_link_attributes
wp-includes/link-template.php 2477
$attr = apply_filters( 'previous_posts_link_attributes', '' );