second editor
-
WordPress has a newish function im told that lets you add a second editor.
add_action( ‘edit_page_form’, ‘my_second_editor’ );
function my_second_editor() {
// get and set $content somehow…
wp_editor( $content, ‘mysecondeditor’ );
}I can’t for the life of me get it to hold data and post it onto a page. Can anypne help me or at least point me to documentation on how I can
1. get a second editor to hold data and keep it
2. post that data live just like I do with the regular editorThanks a ton!
- The topic ‘second editor’ is closed to new replies.