Custom Sanitizers: Example of using AMP_DOM_Utils in themes
-
Hello,
I am wondering if you have plans to add an example of using Custom Sanitizer along with AMP_DOM_Utils (for example, add_amp_action) in themes. Something similar what you’ve done for a default WordPress theme in the plugin’s core.
I’ve checked documentation and it seems like it’s currently not possible to use AMP_DOM_Utils and add_amp_action.
I really like this approach of using Custom Sanitizer in themes because it allows to add support for AMP without a need to modify the theme template parts. Also, we can load this kind of functionality only when AMP plugin is active.
Kind regards,
Taras
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom Sanitizers: Example of using AMP_DOM_Utils in themes’ is closed to new replies.