wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



{$adjacent}_post_link › WordPress Filter Hooks

Da4.2.0
Deprecaton/a
› apply_filters( "{$adjacent}_post_link", $output, $format, $link, $post, $adjacent )
Parametri: (5)
  • () output The adjacent post link.
    Richiesto: Sì
  • () format Link anchor format.
    Richiesto: Sì
  • () link Link permalink format.
    Richiesto: Sì
  • () post The adjacent post. Empty string if no corresponding post exists.
    Richiesto: Sì
  • () adjacent Whether the post is previous or next.
    Richiesto: Sì
Definito a:
Codex:

Filters the adjacent post link.

The dynamic portion of the hook name, `$adjacent`, refers to the type of adjacency, 'next' or 'previous'. Possible hook names include: - `next_post_link` - `previous_post_link`




Sorgenti

return apply_filters( "{$adjacent}_post_link", $output, $format, $link, $post, $adjacent );