wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



{$adjacent}_image_link › Les Filtres WordPress

Depuis3.5.0
Dépréciéen/a
› apply_filters( "{$adjacent}_image_link", $output, $attachment_id, $size, $text )
Paramètres: (4)
  • () output Adjacent image HTML markup.
    Requis: Oui
  • () attachment_id Attachment ID
    Requis: Oui
  • () size Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).
    Requis: Oui
  • () text Link text.
    Requis: Oui
Défini(e) dans:
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`




Source

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