A WordPress-centric search engine for devs and theme authors



replace_editor ›

Since4.9.0
Deprecatedn/a
apply_filters( 'replace_editor', false, $post )
Parameters: (2)
  • (boolean) Whether to replace the editor. Default false.
    Required: Yes
  • (object) $post Post object.
    Required: Yes
Defined at:
Codex:

Allows replacement of the editor.





Source

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