public __construct ( integer $admin, string $title, string $menu_title, string $capability, string $slug, Inpsyde\MultilingualPress\Common\Admin\SettingsPageView $view, string $icon = '', integer | null $position = null ) | ||
$admin | integer | Admin type. Use the class constants. |
$title | string | Title on the page itself. |
$menu_title | string | Title in the admin menu. |
$capability | string | Capability required to view the settings page. |
$slug | string | Page slug used in the URL. |
$view | Inpsyde\MultilingualPress\Common\Admin\SettingsPageView | View object. |
$icon | string | Optinoal. Icon URL. Defaults to empty string. |
$position | integer | null | Optional. Position in the admin menu. Defaults to null. |