Un motore di ricerca WordPress per sviluppatori e autori di temi



{$adjacent}_post_link ›

Da4.2.0
Deprecaton/a
apply_filters( "{$adjacent}_post_link", $output, $format, $link, $post, $adjacent )
Parametri: (5)
  • (string) $output The adjacent post link.
    Richiesto:
  • (string) $format Link anchor format.
    Richiesto:
  • (string) $link Link permalink format.
    Richiesto:
  • (WP_Post) $post The adjacent post.
    Richiesto:
  • (string) $adjacent Whether the post is previous or next.
    Richiesto:
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'.





Sorgenti

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