pre_do_shortcode_tag

Advertisement

Summery Summery

Filters whether to call a shortcode callback.

Syntax Syntax

apply_filters( 'pre_do_shortcode_tag', false|string $return, string $tag, array|string $attr, array $m )

Description Description

Returning a non-false value from filter will short-circuit the shortcode generation process, returning that value instead.

Parameters Parameters

$return

Short-circuit return value. Either false or the value to replace the shortcode with.

$tag

Shortcode name.

$attr

Shortcode attributes array or empty string.

$m

Regular expression match array.

Source Source

File: wp-includes/shortcodes.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Advertisement

Leave a Reply