On this page
apply_filters( "shortcode_atts_{$shortcode}", array $out, array $pairs, array $atts, string $shortcode )
Filters shortcode attributes.
Description
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.
Parameters
$outarray-
The output array of shortcode attributes.
$pairsarray-
The supported attributes and their defaults.
$attsarray-
The user defined shortcode attributes.
$shortcodestring-
The shortcode name.
Source
File: wp-includes/shortcodes.php. View all references
$out = apply_filters( "shortcode_atts_{$shortcode}", $out, $pairs, $atts, $shortcode );
Related
Used By
| Used By | Description |
|---|---|
| shortcode_atts() wp-includes/shortcodes.php | Combines user attributes with known attributes and fill in defaults when needed. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/shortcode_atts_shortcode