wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



{$adjacent}_post_link › Filtr WordPress Hooks

Od4.2.0
Przestarzałyn/a
› apply_filters( "{$adjacent}_post_link", $output, $format, $link, $post, $adjacent )
Parametry: (5)
  • () output The adjacent post link.
    Wymagane: Tak
  • () format Link anchor format.
    Wymagane: Tak
  • () link Link permalink format.
    Wymagane: Tak
  • () post The adjacent post. Empty string if no corresponding post exists.
    Wymagane: Tak
  • () adjacent Whether the post is previous or next.
    Wymagane: Tak
Zdefiniowane na:
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`




Źródło

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