parent_file

Advertisement

Summery Summery

Filters the parent file of an admin menu sub-menu item.

Syntax Syntax

apply_filters( 'parent_file', string $parent_file )

Description Description

Allows plugins to move sub-menu items around.

Parameters Parameters

$parent_file

(string) The parent file.

Source Source

File: wp-admin/menu-header.php

Advertisement

Changelog Changelog

Changelog
Version Description
MU (3.0.0) Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.