(adjacent)_post_rel_link filter-hook . 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'.
Usage
add_filter( '(adjacent)_post_rel_link', 'filter_function_name_1392' ); function filter_function_name_1392( $link ){ // filter... return $link; }
- $link(string)
- The relational link.
Changelog
Since 2.8.0 | Introduced. |
Where the hook is called
(adjacent)_post_rel_link
wp-includes/link-template.php 1946
return apply_filters( "{$adjacent}_post_rel_link", $link );