_restore_wpautop_hook

Private AccessPrivate Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

SummerySummery

If do_blocks() needs to remove wpautop() from the the_content filter, this re-adds it afterwards, for subsequent the_content usage.

Syntax

_restore_wpautop_hook( string $content )

ParametersParameters

$content

(string) (Required) The post content running through this filter.

ReturnReturn

(string) The unmodified content.

SourceSource

File: wp-includes/blocks.php


			

ChangelogChangelog

Changelog
Version Description
5.0.0 Introduced.
Scroll to Top