wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
image_add_caption_text › Hooks de Filtros WordPress
Desde4.1.0
Obsoleton/a
› apply_filters( 'image_add_caption_text', $caption, $id )
| Parâmetros: (2) |
|
| Definido em: |
|
| Codex: |
Filters the caption text.
Note: If the caption text is empty, the caption shortcode will not be appended to the image HTML when inserted into the editor. Passing an empty value also prevents the {@see 'image_add_caption_shortcode'} Filters from being evaluated at the end of image_add_caption().Funções relacionadas: image_add_caption, _cleanup_image_add_caption, img_caption_shortcode, add_option_whitelist, wp_img_tag_add_auto_sizes, add_options_page