do_shortcode_tag

过滤钩子


apply_filters( 'do_shortcode_tag', $output, $tag, $attr, $m )
参数
  • (string)
    $output
    Shortcode output.
    Required:
  • (string)
    $tag
    Shortcode name.
    Required:
  • (array|string)
    $attr
    Shortcode attributes array or empty string.
    Required:
  • (array)
    $m
    Regular expression match array.
    Required:
定义位置
  • wp-includes/shortcodes.php
    , line 367
引入
4.7.0
弃用

过滤由短码回调创建的输出。

return apply_filters( 'do_shortcode_tag', $output, $tag, $attr, $m );