I’m using wordpress wp-editor in the admin dashboard to input some text to a custom table in mySQL (column type is ‘text’). It’s not a normal Custom Post Type; just a separate small table in the WP mySQL. I’m currently updating the table using standard $wpdb->update — HOWEVER, all html coding is being stripped during the update.

Does anyone know how to prepare the text data from wp-editor for $wpdb->update so it allows HTML coding (like links & in-line styles)? (while also treating punctuation properly, like stripslashes_deep )?

Read more here: wordpress text field data — html markup is stripped


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , , , ,

Wordpress related questions and answers: