Screen::add_screen( string $callback, string|null $parent = null )
Adds a screen ID to the list of screens that use the navigtion.
Description Description
Finds the parent if none is given to grab the correct screen ID.
Parameters Parameters
- $callback
-
(Required) Callback or URL for page.
- $parent
-
(Optional) Parent screen ID.
Default value: null
Source Source
File: packages/woocommerce-admin/src/Features/Navigation/Screen.php