|null */ public ?array $menu = null; /** * @param callable $data_callback * @param array|null $menu */ public function __construct( string $slug, string $screen_id, string $entry, string $handle, string $localize_name, callable $data_callback, bool $include_on_dashboard = false, ?array $menu = null ) { $this->slug = $slug; $this->screen_id = $screen_id; $this->entry = $entry; $this->handle = $handle; $this->localize_name = $localize_name; $this->data_callback = $data_callback; $this->include_on_dashboard = $include_on_dashboard; $this->menu = $menu; } }