Load wp_editor via ajax [duplicate]
Add this to your plugin file: (you can also add it on the theme’s functions file) function ajax_wp_editor() { ?> your html form here <?php } //for all users add_action(‘wp_ajax_nopriv_ajax_wp_editor’, ‘ajax_wp_editor’); // for logged in users add_action(‘wp_ajax_ajax_wp_editor’, ‘ajax_wp_editor’); Request Ajax using this URL: [BLOG_ADDRESS]/wp-admin/admin-ajax.php?action=ajax_wp_editor