Un motore di ricerca WordPress per sviluppatori e autori di temi



shortcode_atts_{$shortcode} ›

Da4.4.0
Deprecaton/a
apply_filters( "shortcode_atts_{$shortcode}", $out, $pairs, $atts, $shortcode )
Parametri: (4)
  • (array) $out The output array of shortcode attributes.
    Richiesto:
  • (array) $pairs The supported attributes and their defaults.
    Richiesto:
  • (array) $atts The user defined shortcode attributes.
    Richiesto:
  • (string) $shortcode The shortcode name.
    Richiesto:
Definito a:
Codex:

Filters a shortcode's default 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.





Sorgenti

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