Zapier_Provider::add_dashboard_fields( TECEvent_AutomatorZapierarray $fields )
Adds the Zapier Endpoint dashboard fields after the Zapier API key settings.
Contents
Parameters
- $fields
-
(<span class="TECEvent_AutomatorZapierarray">TECEvent_AutomatorZapierarray) (Required) The current fields.
Return
(TECEvent_AutomatorZapierarray<string,array>) The fields, with the added endpoint dashboard fields.
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 );
}
Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |