Support » Themes and Templates » Theme Options Data Sanitization for Ad Code

  • Hi all,

    I’m making a new theme, and adding a box to the theme options page to insert code containing ad network ads (like adsense) and affiliate ads.

    Does anyone know the best way to sanitize the javascript and/or html on both input and output for this kind of thing?

  • The topic ‘Theme Options Data Sanitization for Ad Code’ is closed to new replies.