Un motore di ricerca WordPress per sviluppatori e autori di temi



img_caption_shortcode ›

Da2.6.0
Deprecaton/a
apply_filters( 'img_caption_shortcode', '', $attr, $content )
Parametri: (3)
  • (string) $output The caption output. Default empty.
    Richiesto:
  • (array) $attr Attributes of the caption shortcode.
    Richiesto:
  • (string) $content The image element, possibly wrapped in a hyperlink.
    Richiesto:
Vedi:
  • img_caption_shortcode()
Definito a:
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.





Sorgenti

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