submenu_file

过滤钩子


apply_filters( 'submenu_file', $submenu_file, $parent_file )
参数
  • (string)
    $submenu_file
    The submenu file.
    Required:
  • (string)
    $parent_file
    The submenu item’s parent file.
    Required:
定义位置
  • wp-admin/menu-header.php
    , line 48
引入
4.4.0
弃用

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

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