parent_file

parent_file

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('parent_file') is found 1 times:

  • /wp-admin/menu-header.php line 38
     * @since MU (3.0.0)
     *
     * @param string $parent_file The parent file.
     */
    $parent_file = apply_filters( 'parent_file', $parent_file );
    
    /**
     * Filters the file of an admin menu sub-menu item.
     *
     * @since 4.4.0
     *
    

See this hook used in plugins: