Settings::inject_display_settings( array $fields )

Inject display settings into the provided fields.


Parameters

$fields

(array) (Required) The fields into which the display settings should be injected.


Top ↑

Return

(array) The fields with the injected display settings.


Top ↑

Source

File: src/Events_Pro/Linked_Posts/Organizer/Settings.php

	public function inject_display_settings( array $fields ): array {
		// Insert the organizer settings before the date format settings.
		return Common_Main::array_insert_before_key(
			'tribeEventsDateFormatSettingsTitle',
			$fields,
			$this->get_display_settings()
		);
	}

Top ↑

Changelog

Changelog
Version Description
6.2.0 Introduced.