Endpoints_Manager::__construct( TECEvent_AutomatorZapierTemplate_Modifications $actions,  $template_modifications )

Endpoints_Manager constructor.


Parameters

$actions

(TECEvent_AutomatorZapierTemplate_Modifications) (Required) An instance of the Template_Modifications.


Top ↑

Source

File: src/Common/Event_Automator/Zapier/Admin/Endpoints_Manager.php

	public function __construct( Actions $actions, Template_Modifications $template_modifications ) {
		$this->actions                = $actions;
		$this->template_modifications = $template_modifications;
		$api_id                       = static::$api_id;

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

Top ↑

Changelog

Changelog
Version Description
6.0.0 Introduced.