Power_Automate_Provider::add_dashboard_fields( TECEvent_AutomatorPower_Automatearray $fields )
Adds the Endpoint dashboard fields after the connection settings.
Contents
Parameters
- $fields
-
(<span class="TECEvent_AutomatorPower_Automatearray">TECEvent_AutomatorPower_Automatearray) (Required) The current fields.
Return
(TECEvent_AutomatorPower_Automatearray<string,array>) The fields, with the added endpoint dashboard fields.
Source
File: src/Common/Event_Automator/Power_Automate/Power_Automate_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. |