Payments_Tab::get_section_menu()

Returns the settings item for the section menu at the top of the Payments settings tab.


Return

(array[])


Top ↑

Source

File: src/Tickets/Commerce/Payments_Tab.php

	public function get_section_menu(): array {
		$template_vars = [
			'sections'         => $this->get_sections(),
			'selected_section' => tribe_get_request_var( static::$key_current_section_get_var, '' ),
		];

		return [
			static::$key_section_menu => [
				'type' => 'html',
				'html' => $this->get_template()->template( 'section/menu', $template_vars, false ),
			],
		];
	}

Top ↑

Changelog

Changelog
Version Description
5.3.0 Introduced.