views:

35

answers:

1

Hey, how do I insert raw HTML in Wordpress's database? I'm using add_option to add values to wp_options table of Wordpress. But Wordpress escapes everything before inserting to the database, so will it pose a problem? If so, what is the correct way

+1  A: 

You could try to use addslashes and stripslashes, like said in Wordpress Forums.

GmonC