wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



shortcode_atts_{$shortcode} › Filtr WordPress Hooks

Od4.4.0
Przestarzałyn/a
› apply_filters( "shortcode_atts_{$shortcode}", $out, $pairs, $atts, $shortcode )
Parametry: (4)
  • () out The output array of shortcode attributes.
    Wymagane: Tak
  • () pairs The supported attributes and their defaults.
    Wymagane: Tak
  • () atts The user defined shortcode attributes.
    Wymagane: Tak
  • () shortcode The shortcode name.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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