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



{$adjacent}_image_link › Filtr WordPress Hooks

Od3.5.0
Przestarzałyn/a
› apply_filters( "{$adjacent}_image_link", $output, $attachment_id, $size, $text )
Parametry: (4)
  • () output Adjacent image HTML markup.
    Wymagane: Tak
  • () attachment_id Attachment ID
    Wymagane: Tak
  • () size Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).
    Wymagane: Tak
  • () text Link text.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the adjacent image link.

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




Źródło

return apply_filters( "{$adjacent}_image_link", $output, $attachment_id, $size, $text );