wpseek.com
WordPress开发者和主题制作者的搜索引擎



{$adjacent}_image_link › WordPress过滤钩子

Since3.5.0
已弃用n/a
› apply_filters( "{$adjacent}_image_link", $output, $attachment_id, $size, $text )
参数: (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
定义在:
文档:

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`




源码

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