wpseek.com
A WordPress-centric search engine for devs and theme authors



image_add_caption_shortcode › WordPress Filter Hooks

Since2.6.0
Deprecatedn/a
apply_filters( 'image_add_caption_shortcode', $shcode, $html )
Parameters: (2)
  • () shcode The image HTML markup with caption shortcode.
    Required: Yes
  • () html The image HTML markup.
    Required: Yes
Defined at:
Codex:

Filters the image HTML markup including the caption shortcode.





Source

return apply_filters( 'image_add_caption_shortcode', $shcode, $html );