Core Function
View Source on Trac ↗ excerpt_remove_blocks()
excerpt_remove_blocks( mixed $content ) Parses blocks out of a content string, and renders those appropriate for the excerpt.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $content string | The content to parse. Required |
Return Value
(string)
The parsed and filtered content.
Function Information
Since Version
5.0.0
Source File
wp-includes/blocks.php
Advertisement