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


Top ↑

Source Source

File: packages/woocommerce-admin/src/Features/Navigation/Screen.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.