(adjacent)_post_rel_link хук-фильтр . WP 2.8.0
Filters the adjacent post relational link.
The dynamic portion of the hook name, $adjacent, refers to the type of adjacency, 'next' or 'previous'.
Использование
add_filter( '(adjacent)_post_rel_link', 'filter_function_name_9741' ); function filter_function_name_9741( $link ){ // filter... return $link; }
- $link(строка)
- The relational link.
Список изменений
С версии 2.8.0 | Введена. |
Где вызывается хук
(adjacent)_post_rel_link
wp-includes/link-template.php 1946
return apply_filters( "{$adjacent}_post_rel_link", $link );