Automator_Send_Webhook_Fields::__construct()

Constructor


Source Source

File: src/core/lib/webhooks/class-automator-send-webhook-fields.php

	public function __construct() {
		$this->data_format_types = apply_filters(
			'automator_outgoing_webhook_content_types',
			array(
				'x-www-form-urlencoded' => 'x-www-form-urlencoded',
				'form-data'             => 'form-data',
				'json'                  => 'JSON',
				'plain'                 => 'Text',
				'html'                  => 'HTML',
				'xml'                   => 'XML',
				'GraphQL'               => 'GraphQL',
				'raw'                   => 'Raw',
//				'binary'                => 'Binary',
			)
		);
	}