WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about shortcode_atts_

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/shortcodes.php apply_filters 609 /**
* 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.
*
* @since 3.6.0
* @since 4.4.0 Added the `$shortcode` parameter.
*
* @param array $out The output array of shortcode attributes.
* @param array $pairs The supported attributes and their defaults.
* @param array $atts The user defined shortcode attributes.
* @param string $shortcode The shortcode name.
*/

Hook Parameters

Parameter Type Name Description
array $out The output array of shortcode attributes.
array $pairs The supported attributes and their defaults.
array $atts The user defined shortcode attributes.
string $shortcode The shortcode name.