wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



img_caption_shortcode › WordPress Filter Hooks

Seit2.6.0
Veraltetn/v
apply_filters( 'img_caption_shortcode', '', $attr, $content )
Parameter: (3)
  • () output The caption output. Default empty.
    Erforderlich: Ja
  • () attr Attributes of the caption shortcode.
    Erforderlich: Ja
  • () content The image element, possibly wrapped in a hyperlink.
    Erforderlich: Ja
Siehe:
  • img_caption_shortcode()
Definiert in:
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.




Quellcode

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