wpseek.com
WordPress开发者和主题制作者的搜索引擎
add_pages_page › WordPress Function
Since2.7.0
已弃用n/a
› add_pages_page ( $page_title, $menu_title, $capability, $menu_slug, $callback = '', $position = null )
参数: (6) |
|
返回: |
|
定义在: |
|
文档: | |
Change Log: |
|
Adds a submenu page to the Pages main menu.
This function takes a capability which will be used to determine whether or not a page is included in the menu. The function which is hooked in to handle the output of the page must check that the user has the required capability as well.Related Functions: add_plugins_page, add_users_page, add_posts_page, add_options_page, add_comments_page