image_add_caption


image_add_caption ( $html, $id, $caption, $title, $align, $url, $size, $alt = '' )

Parameters:
  • (string) $html
  • (integer) $id
  • (string) $caption image caption
  • (string) $title image title attribute
  • (string) $align image css alignment property
  • (string) $url image src url
  • (string) $size image size (thumbnail, medium, large, full or added with add_image_size() )
  • (string) $alt image alt attribute
Returns:
  • (string)
Defined at:

Description

Adds image shortcode with caption to editor

Related Functions

_cleanup_image_add_caption, maybe_add_column, add_action, add_option, tag_description

Top Google Results

User discussions

wpseek mobile