Filter hook 'do_shortcode_tag'

in WP Core File wp-includes/shortcodes.php at line 447

Description

Filters the output created by a shortcode callback.

Occurrences

Filename Line Number
wp-includes/shortcodes.php 447

Parameters

Type Name Description
string $output Shortcode output.
string $tag Shortcode name.
array $attr Shortcode attributes array, can be empty if the original arguments string cannot be parsed.
array $m Regular expression match array.

PHP Doc

/**
	 * Filters the output created by a shortcode callback.
	 *
	 * @since 4.7.0
	 * @since 6.5.0 The `$attr` parameter is always an array.
	 *
	 * @param string $output Shortcode output.
	 * @param string $tag    Shortcode name.
	 * @param array  $attr   Shortcode attributes array, can be empty if the original arguments string cannot be parsed.
	 * @param array  $m      Regular expression match array.
	 */