A WordPress-centric search engine for devs and theme authors



image_add_caption_shortcode ›

Since2.6.0
Deprecatedn/a
apply_filters( 'image_add_caption_shortcode', $shcode, $html )
Parameters: (2)
  • (string) $shcode The image HTML markup with caption shortcode.
    Required: Yes
  • (string) $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 );