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



img_caption_shortcode › WordPress过滤钩子

Since2.6.0
已弃用n/a
› apply_filters( 'img_caption_shortcode', '', $attr, $content )
参数: (3)
  • () output The caption output. Default empty.
    Required: Yes
  • () attr Attributes of the caption shortcode.
    Required: Yes
  • () content The image element, possibly wrapped in a hyperlink.
    Required: Yes
查看:
  • img_caption_shortcode()
定义在:
文档:

Filters the default caption shortcode output.

If the filtered output isn't empty, it will be used instead of generating the default caption template.




源码

$output = apply_filters( 'img_caption_shortcode', '', $attr, $content );