On this page
apply_filters( 'replace_editor', bool $replace, WP_Post $post )
Allows replacement of the editor.
Parameters
$replacebool-
Whether to replace the editor. Default false.
$postWP_Post-
Post object.
Source
File: wp-admin/post.php. View all references
if ( true === apply_filters( 'replace_editor', false, $post ) ) {
Related
Used By
| Used By | Description |
|---|---|
| WP_Screen::get() wp-admin/includes/class-wp-screen.php | Fetches a screen object. |
Changelog
| Version | Description |
|---|---|
| 4.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/replace_editor