Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Admin_Settings::load_tab( string $tab_key )

Loads the PHP file with the class that defines a tab

Parameters Parameters


(Required) The tab ID

Source Source

File: src/core/admin/admin-settings/admin-settings.php

	private function load_tab( $tab_key ) {
		include __DIR__ . DIRECTORY_SEPARATOR . 'tabs/' . $tab_key . '.php';