WordPress at Your Fingertips
filter is not described

(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'.

Possible hook names include:

  • next_post_rel_link
  • previous_post_rel_link


add_filter( '(adjacent)_post_rel_link', 'filter_function_name_9689' );
function filter_function_name_9689( $link ){
	// filter...

	return $link;
The relational link.


Since 2.8.0 Introduced.

Where the hook is called

wp-includes/link-template.php 2042
return apply_filters( "{$adjacent}_post_rel_link", $link );

Where in WP core the hook is used WordPress

Usage not found.