Changeset 18136 for trunk/wp-admin/includes/plugin.php
- Timestamp:
- 06/03/2011 11:30:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/plugin.php
r18084 r18136 964 964 * @param callback $function The function to be called to output the content for this page. 965 965 * 966 * @return string The resulting page's hook_suffix966 * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. 967 967 */ 968 968 function add_submenu_page( $parent_slug, $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { … … 1028 1028 * @param callback $function The function to be called to output the content for this page. 1029 1029 * 1030 * @return string The resulting page's hook_suffix1030 * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. 1031 1031 */ 1032 1032 function add_management_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { … … 1049 1049 * @param callback $function The function to be called to output the content for this page. 1050 1050 * 1051 * @return string The resulting page's hook_suffix1051 * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. 1052 1052 */ 1053 1053 function add_options_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { … … 1070 1070 * @param callback $function The function to be called to output the content for this page. 1071 1071 * 1072 * @return string The resulting page's hook_suffix1072 * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. 1073 1073 */ 1074 1074 function add_theme_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { … … 1091 1091 * @param callback $function The function to be called to output the content for this page. 1092 1092 * 1093 * @return string The resulting page's hook_suffix1093 * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. 1094 1094 */ 1095 1095 function add_plugins_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { … … 1112 1112 * @param callback $function The function to be called to output the content for this page. 1113 1113 * 1114 * @return string The resulting page's hook_suffix1114 * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. 1115 1115 */ 1116 1116 function add_users_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { … … 1136 1136 * @param callback $function The function to be called to output the content for this page. 1137 1137 * 1138 * @return string The resulting page's hook_suffix1138 * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. 1139 1139 */ 1140 1140 function add_dashboard_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { … … 1157 1157 * @param callback $function The function to be called to output the content for this page. 1158 1158 * 1159 * @return string The resulting page's hook_suffix1159 * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. 1160 1160 */ 1161 1161 function add_posts_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { … … 1178 1178 * @param callback $function The function to be called to output the content for this page. 1179 1179 * 1180 * @return string The resulting page's hook_suffix1180 * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. 1181 1181 */ 1182 1182 function add_media_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { … … 1199 1199 * @param callback $function The function to be called to output the content for this page. 1200 1200 * 1201 * @return string The resulting page's hook_suffix1201 * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. 1202 1202 */ 1203 1203 function add_links_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { … … 1220 1220 * @param callback $function The function to be called to output the content for this page. 1221 1221 * 1222 * @return string The resulting page's hook_suffix1222 * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. 1223 1223 */ 1224 1224 function add_pages_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { … … 1241 1241 * @param callback $function The function to be called to output the content for this page. 1242 1242 * 1243 * @return string The resulting page's hook_suffix1243 * @return string|bool The resulting page's hook_suffix, or false if the user does not have the capability required. 1244 1244 */ 1245 1245 function add_comments_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.