WPDev.one
Core Function
View Source on Trac ↗

_restore_wpautop_hook()

_restore_wpautop_hook( mixed $content )

If do_blocks() needs to remove wpautop() from the `the_content` filter, this re-adds it afterwards,

Parameters 1 required

Name / Type Description
$content
string

The post content running through this filter.

Required

Return Value

(string)
The unmodified content.

Function Information

Since Version
5.0.0
Source File
wp-includes/blocks.php
Advertisement