Automator_Send_Webhook::get_data_type( $data )

Get date type


Parameters Parameters

$data

(Required)


Top ↑

Return Return

(mixed|string)


Source Source

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

	public function get_data_type( $data ) {
		if ( ! isset( $data['DATA_FORMAT'] ) ) {
			return 'x-www-form-urlencoded';
		}

		return $data['DATA_FORMAT'];
	}