wpseek.com
A WordPress-centric search engine for devs and theme authors



shortcode_atts_{$shortcode} › WordPress Filter Hooks

Since4.4.0
Deprecatedn/a
apply_filters( "shortcode_atts_{$shortcode}", $out, $pairs, $atts, $shortcode )
Parameters: (4)
  • (array) $out The output array of shortcode attributes.
    Required: Yes
  • (array) $pairs The supported attributes and their defaults.
    Required: Yes
  • (array) $atts The user defined shortcode attributes.
    Required: Yes
  • (string) $shortcode The shortcode name.
    Required: Yes
Defined at:
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.





Source

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