Abstract_Dashboard::get_endpoints()

Get the integration endpoints.


Return

(TECEvent_AutomatorIntegrationsAdminarray<string,array>) An array of the integration endpoints.


Top ↑

Source

File: src/Common/Event_Automator/Integrations/Admin/Abstract_Dashboard.php

	public function get_endpoints() {
		$api_id = static::$api_id;

		/**
		 * Filters the integration endpoints for the dashboard.
		 *
		 * @since 1.4.0
		 *
		 * @param array<string,array> An array of the integration endpoints.
		 */
		$endpoints = apply_filters( "tec_event_automator_{$api_id}_endpoints", [] );

		$sorted_endpoints = wp_list_sort(
			$endpoints,
			[
			  'id'  => 'ASC',
			]
		);

		return $sorted_endpoints;
	}

Top ↑

Changelog

Changelog
Version Description
6.0.0 Introduced.