首页 WordPress函数大全 excerpt_remove_blocks()

excerpt_remove_blocks()

2020-05-01 / 5039阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

excerpt_remove_blocks( string $content )

Parses blocks out of a content string, and renders those appropriate for the excerpt.

描述

As the excerpt should be a small string of text relevant to the full post content, this function renders the blocks that are most likely to contain such text.

参数

$content

(string)
(Required)
The content to parse.

返回

(string) The parsed and filtered content.

大家谈论
    我的见解