widget_block_content

过滤钩子


参数
  • (string)
    $content
    The widget content.
    Required:
  • (array)
    $instance
    Array of settings for the current widget.
    Required:
  • (WP_Widget_Block)
    $widget
    Current Block widget instance.
    Required:
定义位置
  • wp-includes/widgets/class-wp-widget-block.php
    , line 77
引入
5.8.0
弃用

在输出前过滤Block小工具的内容。

echo apply_filters(