Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 2
    Cool, but highlighting don't work correctly. If i set submenu_file they displayed as current. But top level menu not opened. But if i set parent_file, wp run function get_admin_page_parent() after filters and change it back. For what wp developers add parent_file filter if anyway function change it back. Could you help? Commented Aug 28, 2018 at 13:11
  • 1
    Also if parent_slug set as null, page_title not used in title. Commented Aug 28, 2018 at 13:12
  • 1
    You can use 'options.php' instead off null. Commented Mar 19, 2019 at 23:58