W3cubDocs

/WordPress

apply_filters( 'replace_editor', bool $replace, WP_Post $post )

Allows replacement of the editor.

Parameters

$replace

(bool) Whether to replace the editor. Default false.

$post

(WP_Post) Post object.

Source

File: wp-admin/post.php

View on Trac

Changelog

Version Description
4.9.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/replace_editor