Integrations::get_fields()

Gets the settings.


Return

(array[]) Key value pair for setting options.


Top ↑

Source

File: src/Tickets_Plus/Admin/Tabs/Integrations.php

	public function get_fields(): array {
		$settings_start = [
			'info-start'           => [
				'type' => 'html',
				'html' => '<div class="tec-settings-header">',
			],
			'info-box-title'       => [
				'type' => 'html',
				'html' => '<h2>' . _x( 'Integrations', 'Integrations tab header', 'event-tickets-plus' ) . '</h2>',
			],
			'info-box-description' => [
				'type' => 'html',
				'html' => '<p>' .
					esc_html__(
						'Event Tickets and its add-ons integrate with other online tools and services to bring you additional features. Use the settings below to connect to our mobile app and manage your integrations.',
						'event-tickets-plus'
					)
					. '</p>',
			],
			'info-end'             => [
				'type' => 'html',
				'html' => '</div>',
			],
			'settings-start' => [
				'type' => 'html',
				'html' => '<div class="tribe-settings-form-wrap">',
			],
		];

		$settings_end = [
			'info-end' => [
				'type' => 'html',
				'html' => '</div>',
			]
		];

		$fields = apply_filters( 'tec_tickets_plus_integrations_tab_fields', [] );

		return array_merge( $settings_start, $fields, $settings_end );
	}

Top ↑

Changelog

Changelog
Version Description
5.6.2 Introduced.