image_add_caption_text, $caption, $id
image_add_caption_text, $caption, $id
Appears in: 7.0.3
Hook Type: filter
Displaying hooks found in version: 7.0.3apply_filters('image_add_caption_text, $caption, $id') is found 1 times:
- /wp-admin/includes/media.php line 204
* * @param string $caption The original caption text. * @param int $id The attachment ID. */ $caption = apply_filters( 'image_add_caption_text', $caption, $id ); /** * Filters whether to disable captions. * * Prevents image captions from being appended to image HTML when inserted into the editor. *