Returns a new settings page object, instantiated according to the given arguments.
public static with_parent ( integer $admin, string $parent, string $title, string $menu_title, string $capability, string $slug, Inpsyde\MultilingualPress\Common\Admin\SettingsPageView $view ) : static | ||
$admin | integer | Admin type. Use the class constants. |
$parent | string | Parent page. Use the available 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. |
Résultat | static | Settings page object. |