Zapier_Provider::add_dashboard_fields( TECEvent_AutomatorZapierarray $fields )

Adds the Zapier Endpoint dashboard fields after the Zapier API key settings.


Parameters

$fields

(<span class="TECEvent_AutomatorZapierarray">TECEvent_AutomatorZapierarray) (Required) The current fields.


Top ↑

Return

(TECEvent_AutomatorZapierarray<string,array>) The fields, with the added endpoint dashboard fields.


Top ↑

Source

File: src/Common/Event_Automator/Zapier/Zapier_Provider.php

	public function add_dashboard_fields( $fields ) {
		if ( ! is_array( $fields ) ) {
			return $fields;
		}

		return tribe( Dashboard::class )->add_fields( $fields );
	}

Top ↑

Changelog

Changelog
Version Description
6.0.0 Introduced.