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



shortcode_atts_{$shortcode} › WordPress Filter Hooks

Seit4.4.0
Veraltetn/v
apply_filters( "shortcode_atts_{$shortcode}", $out, $pairs, $atts, $shortcode )
Parameter: (4)
  • (array) $out The output array of shortcode attributes.
    Erforderlich: Ja
  • (array) $pairs The supported attributes and their defaults.
    Erforderlich: Ja
  • (array) $atts The user defined shortcode attributes.
    Erforderlich: Ja
  • (string) $shortcode The shortcode name.
    Erforderlich: Ja
Definiert in:
Codex:

Filters shortcode attributes.

If the third parameter of the shortcode_atts() function is present then this filter is available. The third parameter, $shortcode, is the name of the shortcode.





Quellcode

$out = apply_filters( "shortcode_atts_{$shortcode}", $out, $pairs, $atts, $shortcode );