AMP_Base_Sanitizer::init

AMP_Base_Sanitizer::init( AMP_Base_Sanitizer[] $sanitizers )

Description #

Run logic before any sanitizers are run.

After the sanitizers are instantiated but before calling sanitize on each of them, this method is called with list of all the instantiated sanitizers.


Parameters #

$sanitizers

(AMP_Base_Sanitizer[]) (Required) Sanitizers.