Disable Sanitizing on One Section of the Theme
-
Folks,
Good day.
We added a script to one of the sections in our theme, but it keeps being sanitized after we clear caches.
We would like to keep it in that section as it will save us a lot of time and effort.
We tried using <div><script></div>, but it keeps doing the same.
Perhaps we need to disable the function sanitize_*() for this section only. But we don’t know how to do it and where to find it specifically for that section of the theme.
Your help is welcome and greatly appreciated it.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Disable Sanitizing on One Section of the Theme’ is closed to new replies.