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



{$adjacent}_image_link › Hooks de Filtros WordPress

Desde3.5.0
Obsoleton/a
› apply_filters( "{$adjacent}_image_link", $output, $attachment_id, $size, $text )
Parâmetros: (4)
  • () output Adjacent image HTML markup.
    Required: Yes
  • () attachment_id Attachment ID
    Required: Yes
  • () size Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).
    Required: Yes
  • () text Link text.
    Required: Yes
Definido em:
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`




Fonte

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