WordPress at a glance
filter is not described

replace_editor filter-hook . WP 4.9.0

Allows replacement of the editor.

Usage

add_filter( 'replace_editor', 'filter_function_name_3780', 10, 2 );
function filter_function_name_3780( $replace, $post ){
	// filter...

	return $replace;
}
$replace(true/false)
Whether to replace the editor.
Default: false
$post(WP_Post)
Post object.

Changelog

Since 4.9.0 Introduced.

Where the hook is called

In file: /wp-admin/post.php
replace_editor
wp-admin/post.php 182
if ( true === apply_filters( 'replace_editor', false, $post ) ) {
wp-admin/includes/class-wp-screen.php 310
$replace_editor = apply_filters( 'replace_editor', false, $post );
wp-admin/post-new.php 70
if ( apply_filters( 'replace_editor', false, $post ) !== true ) {

Where in WP core the hook is used

Usage not found!