apply_filters( "shortcode_atts_{$shortcode}", array $out, array $pairs, array $atts, string $shortcode )

Filters shortcode attributes.

Description 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.

Top ↑

Parameters Parameters


(array) The output array of shortcode attributes.


(array) The supported attributes and their defaults.


(array) The user defined shortcode attributes.


(string) The shortcode name.

Top ↑

Source Source

File: wp-includes/shortcodes.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.4.0 Added the $shortcode parameter.
3.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.