No post content is showing up in the wordpress edit textarea -


i replaced wordpress tinymce editor custom textarea field. works when saving post whenever want edit post, textarea field goes blank.

i want ask if there hook have call make post display editing in textarea field.

if there hook, please guide me.

edit

here code used add own text area:

/* remove tinymce editor */              function wpdocs_remove_post_type_support() {         remove_post_type_support( 'post', 'editor' );     }      add_action('init' ,'wpdocs_remove_post_type_support' );       /* add own textarea */      function myprefix_edit_form_advanced() {       require('texteditor.html');        }          add_action( 'edit_form_after_title', 'myprefix_edit_form_advanced' ); 


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -