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



img_caption_shortcode › Hooks de Filtros WordPress

Desde2.6.0
Obsoleton/a
› apply_filters( 'img_caption_shortcode', '', $attr, $content )
Parâmetros: (3)
  • () output The caption output. Default empty.
    Required: Yes
  • () attr Attributes of the caption shortcode.
    Required: Yes
  • () 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 );