wpseek.com
A WordPress-centric search engine for devs and theme authors



parent_file › WordPress Filter Hooks

SinceMU (3.0.0)
Deprecatedn/a
apply_filters( 'parent_file', $parent_file )
Parameters:
  • (string) $parent_file The parent file.
    Required: Yes
Defined at:
Codex:

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

Allows plugins to move sub-menu items around.





Source

$parent_file = apply_filters( 'parent_file', $parent_file );