@@ -87838,6 +87838,7 @@ function uninstall_plugin($plugin)
8783887838 * * Pass 'none' to leave div.wp-menu-image empty so an icon can be added via CSS.
8783987839 * @param int|float $position Optional. The position in the menu order this item should appear.
8784087840 * @return string The resulting page's hook_suffix.
87841+ * @phpstan-param ''|callable $callback
8784187842 */
8784287843 function add_menu_page($page_title, $menu_title, $capability, $menu_slug, $callback = '', $icon_url = '', $position = \null)
8784387844 {
@@ -87897,6 +87898,7 @@ function add_submenu_page($parent_slug, $page_title, $menu_title, $capability, $
8789787898 * @param callable $callback Optional. The function to be called to output the content for this page.
8789887899 * @param int $position Optional. The position in the menu order this item should appear.
8789987900 * @return string|false The resulting page's hook_suffix, or false if the user does not have the capability required.
87901+ * @phpstan-param ''|callable $callback
8790087902 */
8790187903 function add_management_page($page_title, $menu_title, $capability, $menu_slug, $callback = '', $position = \null)
8790287904 {
@@ -87920,6 +87922,7 @@ function add_management_page($page_title, $menu_title, $capability, $menu_slug,
8792087922 * @param callable $callback Optional. The function to be called to output the content for this page.
8792187923 * @param int $position Optional. The position in the menu order this item should appear.
8792287924 * @return string|false The resulting page's hook_suffix, or false if the user does not have the capability required.
87925+ * @phpstan-param ''|callable $callback
8792387926 */
8792487927 function add_options_page($page_title, $menu_title, $capability, $menu_slug, $callback = '', $position = \null)
8792587928 {
@@ -87943,6 +87946,7 @@ function add_options_page($page_title, $menu_title, $capability, $menu_slug, $ca
8794387946 * @param callable $callback Optional. The function to be called to output the content for this page.
8794487947 * @param int $position Optional. The position in the menu order this item should appear.
8794587948 * @return string|false The resulting page's hook_suffix, or false if the user does not have the capability required.
87949+ * @phpstan-param ''|callable $callback
8794687950 */
8794787951 function add_theme_page($page_title, $menu_title, $capability, $menu_slug, $callback = '', $position = \null)
8794887952 {
@@ -87966,6 +87970,7 @@ function add_theme_page($page_title, $menu_title, $capability, $menu_slug, $call
8796687970 * @param callable $callback Optional. The function to be called to output the content for this page.
8796787971 * @param int $position Optional. The position in the menu order this item should appear.
8796887972 * @return string|false The resulting page's hook_suffix, or false if the user does not have the capability required.
87973+ * @phpstan-param ''|callable $callback
8796987974 */
8797087975 function add_plugins_page($page_title, $menu_title, $capability, $menu_slug, $callback = '', $position = \null)
8797187976 {
@@ -87989,6 +87994,7 @@ function add_plugins_page($page_title, $menu_title, $capability, $menu_slug, $ca
8798987994 * @param callable $callback Optional. The function to be called to output the content for this page.
8799087995 * @param int $position Optional. The position in the menu order this item should appear.
8799187996 * @return string|false The resulting page's hook_suffix, or false if the user does not have the capability required.
87997+ * @phpstan-param ''|callable $callback
8799287998 */
8799387999 function add_users_page($page_title, $menu_title, $capability, $menu_slug, $callback = '', $position = \null)
8799488000 {
@@ -88012,6 +88018,7 @@ function add_users_page($page_title, $menu_title, $capability, $menu_slug, $call
8801288018 * @param callable $callback Optional. The function to be called to output the content for this page.
8801388019 * @param int $position Optional. The position in the menu order this item should appear.
8801488020 * @return string|false The resulting page's hook_suffix, or false if the user does not have the capability required.
88021+ * @phpstan-param ''|callable $callback
8801588022 */
8801688023 function add_dashboard_page($page_title, $menu_title, $capability, $menu_slug, $callback = '', $position = \null)
8801788024 {
@@ -88035,6 +88042,7 @@ function add_dashboard_page($page_title, $menu_title, $capability, $menu_slug, $
8803588042 * @param callable $callback Optional. The function to be called to output the content for this page.
8803688043 * @param int $position Optional. The position in the menu order this item should appear.
8803788044 * @return string|false The resulting page's hook_suffix, or false if the user does not have the capability required.
88045+ * @phpstan-param ''|callable $callback
8803888046 */
8803988047 function add_posts_page($page_title, $menu_title, $capability, $menu_slug, $callback = '', $position = \null)
8804088048 {
@@ -88058,6 +88066,7 @@ function add_posts_page($page_title, $menu_title, $capability, $menu_slug, $call
8805888066 * @param callable $callback Optional. The function to be called to output the content for this page.
8805988067 * @param int $position Optional. The position in the menu order this item should appear.
8806088068 * @return string|false The resulting page's hook_suffix, or false if the user does not have the capability required.
88069+ * @phpstan-param ''|callable $callback
8806188070 */
8806288071 function add_media_page($page_title, $menu_title, $capability, $menu_slug, $callback = '', $position = \null)
8806388072 {
@@ -88081,6 +88090,7 @@ function add_media_page($page_title, $menu_title, $capability, $menu_slug, $call
8808188090 * @param callable $callback Optional. The function to be called to output the content for this page.
8808288091 * @param int $position Optional. The position in the menu order this item should appear.
8808388092 * @return string|false The resulting page's hook_suffix, or false if the user does not have the capability required.
88093+ * @phpstan-param ''|callable $callback
8808488094 */
8808588095 function add_links_page($page_title, $menu_title, $capability, $menu_slug, $callback = '', $position = \null)
8808688096 {
@@ -88104,6 +88114,7 @@ function add_links_page($page_title, $menu_title, $capability, $menu_slug, $call
8810488114 * @param callable $callback Optional. The function to be called to output the content for this page.
8810588115 * @param int $position Optional. The position in the menu order this item should appear.
8810688116 * @return string|false The resulting page's hook_suffix, or false if the user does not have the capability required.
88117+ * @phpstan-param ''|callable $callback
8810788118 */
8810888119 function add_pages_page($page_title, $menu_title, $capability, $menu_slug, $callback = '', $position = \null)
8810988120 {
@@ -88127,6 +88138,7 @@ function add_pages_page($page_title, $menu_title, $capability, $menu_slug, $call
8812788138 * @param callable $callback Optional. The function to be called to output the content for this page.
8812888139 * @param int $position Optional. The position in the menu order this item should appear.
8812988140 * @return string|false The resulting page's hook_suffix, or false if the user does not have the capability required.
88141+ * @phpstan-param ''|callable $callback
8813088142 */
8813188143 function add_comments_page($page_title, $menu_title, $capability, $menu_slug, $callback = '', $position = \null)
8813288144 {
0 commit comments