I have a custom post type which has multiple wysiwyg editors within the same post. When creating a new post of this type, I wish to have default text in some of these wysiwyg editors but not in the main wysiwyg editor. Using the “default_content” filter hook, I was able to add text to the main editor, but was unable to reach the other wysiwyg editors.
How would I go about adding text to the non-main wysiwyg editors? Is there a hook to reach all wysiwyg editors and then I’d need to filter which ones are not the main wysiwyg editor?
Not sure exactly how you are adding the editor but with
wp_editor() the first parameter is the default content.
Codex reference: https://codex.wordpress.org/Function_Reference/wp_editor