apply_filters( ‘replace_editor’, bool $replace, WP_Post $post )

In this article

Allows replacement of the editor.

Parameters

$replacebool
Whether to replace the editor. Default false.
$postWP_Post
Post object.

Source

if ( true === apply_filters( 'replace_editor', false, $post ) ) {

Changelog

VersionDescription
4.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.