wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



img_caption_shortcode › WordPress Filter Hooks

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