do_blocks()
do_blocks( string $content )
从“post_content”中解析动态块并重新呈现它们。
Parses dynamic blocks out of `post_content` and re-renders them.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$content | (string) | 必需 | 发布内容。 |
返回(Return)
(string)更新了文章内容。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
5.0.0 | wp-includes/blocks.php:532 | 0 | 7 |
do_blocks() 为WP2原创文章,链接:https://www.wp2.cn/functions/do_blocks/