Uma área de pesquisa sobre o WordPress para devs e autores do tema



img_caption_shortcode ›

Desde2.6.0
Obsoleton/a
apply_filters( 'img_caption_shortcode', '', $attr, $content )
Parâmetros: (3)
  • (string) $output The caption output. Default empty.
    Required: Yes
  • (array) $attr Attributes of the caption shortcode.
    Required: Yes
  • (string) $content The image element, possibly wrapped in a hyperlink.
    Required: Yes
Ver:
  • img_caption_shortcode()
Definido em:
Codex:

Filters the default caption shortcode output.

If the filtered output isn't empty, it will be used instead of generating the default caption template.





Fonte

$output = apply_filters( 'img_caption_shortcode', '', $attr, $content );