apply_filters( "{$adjacent}_post_rel_link", string $link )

Filters the adjacent post relational link.

Description Description

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

Top ↑

Parameters Parameters


(string) The relational link.

Top ↑

Source Source

File: wp-includes/link-template.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.