Used By
Used By | Description |
---|---|
wp-includes/shortcodes.php: shortcode_atts() | Combine user attributes with known attributes and fill in defaults when needed. |
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.
(array) The output array of shortcode attributes.
(array) The supported attributes and their defaults.
(array) The user defined shortcode attributes.
(string) The shortcode name.
Version | Description |
---|---|
4.4.0 | Added the $shortcode parameter. |
3.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/shortcode_atts_shortcode