args['embed_handlers'] ) ) { $this->embed_handlers = $this->args['embed_handlers']; } } /** * Checks if each embed_handler has sanitize_raw_method and calls it. */ public function sanitize() { foreach ( $this->embed_handlers as $embed_handler ) { if ( method_exists( $embed_handler, 'sanitize_raw_embeds' ) ) { $embed_handler->sanitize_raw_embeds( $this->dom ); } } } }