WP_Screen::set_parentage

SummerySummery

Set the parent information for the screen.

Syntax

WP_Screen::set_parentage( string $parent_file )

DescriptionDescription

This is called in admin-header.php after the menu parent for the screen has been determined.

ParametersParameters

$parent_file

(string) (Required) The parent file of the screen. Typically the $parent_file global.

SourceSource

File: wp-admin/includes/class-wp-screen.php


			

ChangelogChangelog

Changelog
Version Description
3.3.0 Introduced.
Scroll to Top