• Hi,

    We are developing a website on WP and I feel stuck with a problem, hope you guys can help me with this.

    I´ve got a page with 2 wp_editors. To use the html wp_editor content im using ob_start() to get the content and insert it in a variable, just like this:

    ob_start();
    wp_editor( $x, $y, $z );
    $editor_contents = ob_get_contents();
    ob_end_clean();

    I use the same code for a second wp_editor.
    The problem appears when i save the data… the content of the sectond editor gets save in the first editor field.

    I tried to flush the buffer but not result.

    Any suggestions?
    Thank you all

Viendo 1 respuesta (de un total de 1)
Viendo 1 respuesta (de un total de 1)
  • El debate ‘Problem with ob start buffer function and wp_editor’ está cerrado a nuevas respuestas.