I like to use the rich text editor when it comes to editing and creating posts, but almost all of the time it is very useful to have the option of seeing it in plain text.
I want to be able to make my form editor have the same tabs (“visual” and “text”) that are on the editor within the WordPress backend for post creation.
I have been able to achieve this by editing the plugin's php code, finding the place where the code calls on “wp_editor();” and changing the settings to include the visual and plaintext tabs. However, the problem is that I have to do this every time I update WPUF Pro.
Is there a way to do this using Action Hook's? I am not very familiar with them, so if it is possible could you please walk me through it? I am pretty good at programming, I just haven't studied much about WordPress plugin development (which I probably should).
Sadly there isn't any filter and action to modify the arguments in wp_editor function in WPUF.
But using the action hook tutorial, you should be able to insert your own post body instead of the plugin's one and solve your problem. You don't to follow the step 3, just give the textarea name to post_content