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



submenu_file › WordPress Filter Hooks

Since4.4.0
Deprecatedn/a
apply_filters( 'submenu_file', $submenu_file, $parent_file )
Parameters: (2)
  • (string) $submenu_file The submenu file.
    Required: Yes
  • (string) $parent_file The submenu item's parent file.
    Required: Yes
Defined at:
Codex:

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





Source

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