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
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/replace_editor