PHP_Editor_Admin
Class PHP_Editor_Admin
Source
File: includes/modules/custom_layouts/admin/php_editor_admin.php
Expand full source code Collapse full source code View on Github
Methods
- clean_template_files — Remove template files when the post is deleted.
- custom_editor_body_class — Add class on body to know that the current page is edited with this custom editor
- get_editor_mode — Check if current post is edited with Neve custom editor or not.
- init — Init PHP Editor admin.
- print_admin_js_template — Add templates for switch button and for editor.
- should_load — Decide if the editor should load or not.