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_General::load_tab( string $tab_key )
Loads the PHP file with the class that defines a tab
Contents
Parameters Parameters
- $tab_key
-
(Required) The tab ID
Source Source
File: src/core/admin/admin-settings/tabs/general.php
private function load_tab( $tab_key ) { include __DIR__ . DIRECTORY_SEPARATOR . 'general-tabs/' . $tab_key . '.php'; }
Expand full source code Collapse full source code View on Github