pre_do_shortcode_tag

最后更新于:2021-11-27 18:47:20

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

Filters whether to call a shortcode callback.

参数

$return

(false|string)
Short-circuit return value. Either false or the value to replace the shortcode with.

$tag

(string)
Shortcode name.

$attr

(array|string)
Shortcode attributes array or empty string.

$m

(array)
Regular expression match array.

源文件

文件: gc-includes/shortcodes.php

View on Trac