wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



{$adjacent}_post_link › Hooks de Filtros WordPress

Desde4.2.0
Obsoleton/a
› apply_filters( "{$adjacent}_post_link", $output, $format, $link, $post, $adjacent )
Parâmetros: (5)
  • () output The adjacent post link.
    Required: Yes
  • () format Link anchor format.
    Required: Yes
  • () link Link permalink format.
    Required: Yes
  • () post The adjacent post. Empty string if no corresponding post exists.
    Required: Yes
  • () adjacent Whether the post is previous or next.
    Required: Yes
Definido em:
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`




Fonte

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