amp_content_sanitizers

apply_filters( 'amp_content_sanitizers',  array $handlers,  WP_Post $post )

Description #

Filters the content sanitizers.


Parameters #

$handlers

(array) Handlers.

$post

(WP_Post) Post. Deprecated.



Changelog #

Changelog
Version Description
0.7 Deprecated $post parameter. It will be null when `amp_is_canonical()`.
0.2 Introduced.