• Resolved rexsorgatz

    (@rexsorgatz)


    This should be a simple one…

    I am trying to pull some custom field data (a video embed) into an AMP template. I would like to simply run the built-in sanitizers on the data. I first tried applying filters [apply_filters(‘post_amp_content’,$video_embed) / apply_filters(‘amp_post_template_file’,$video_embed)] but nope, that doesn’t work.

    There’s gotta be a simple way to do this?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to invoke sanitizer in template’ is closed to new replies.