fbpx

Proposal: allow themes to add a top-level admin-menu

The Themes Team would like to add the following requirements and we would also like to hear your opinions on this matter.

Themes should add a page under the Appearance menu using add_theme_page. If they need to have sub-pages (like for example documentation, FAQs, donation link etc), then they are allowed to use add_menu_page and add_submenu_page, provided they follow these requirements: * You are allowed to create only one (1) main page using `add_menu_page`. There is also a limit of three (3) sub-menu pages (`add_submenu_page`) * The `$position` (priority) parameter must be `null`, the default value (just for `add_menu_page`). *

This post was originally published on this site

GET UP TO $500K IN BUSINESS FUNDING

Pin It on Pinterest

Share This
Xiphos Web Marketing

FREE
VIEW