shortcode_atts_{$shortcode}

Advertisement

Summery Summery

Filters shortcode attributes.

Syntax Syntax

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

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.

Parameters Parameters

$out

(array) The output array of shortcode attributes.

$pairs

(array) The supported attributes and their defaults.

$atts

(array) The user defined shortcode attributes.

$shortcode

(string) The shortcode name.

Source Source

File: wp-includes/shortcodes.php

Advertisement

Changelog Changelog

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

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.