Changeset 15754 for trunk/wp-admin/includes/plugin.php
- Timestamp:
- 10/07/2010 10:58:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/plugin.php
r15753 r15754 853 853 * Add a top level menu page in the 'objects' section 854 854 * 855 * This function takes a capability which will be used to determine whether 856 * or not a page is included in the menu. 857 * 858 * The function which is hooked in to handle the output of the page must check 859 * that the user has the required capability as well. 860 * 855 861 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected 856 862 * @param string $menu_title The text to be used for the menu … … 871 877 * Add a top level menu page in the 'utility' section 872 878 * 879 * This function takes a capability which will be used to determine whether 880 * or not a page is included in the menu. 881 * 882 * The function which is hooked in to handle the output of the page must check 883 * that the user has the required capability as well. 884 * 873 885 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected 874 886 * @param string $menu_title The text to be used for the menu … … 888 900 /** 889 901 * Add a sub menu page 902 * 903 * This function takes a capability which will be used to determine whether 904 * or not a page is included in the menu. 905 * 906 * The function which is hooked in to handle the output of the page must check 907 * that the user has the required capability as well. 890 908 * 891 909 * @param string $parent_slug The slug name for the parent menu (or the file name of a standard WordPress admin page) … … 945 963 /** 946 964 * Add sub menu page to the tools main menu. 965 * 966 * This function takes a capability which will be used to determine whether 967 * or not a page is included in the menu. 968 * 969 * The function which is hooked in to handle the output of the page must check 970 * that the user has the required capability as well. 947 971 * 948 972 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected … … 958 982 /** 959 983 * Add sub menu page to the options main menu. 984 * 985 * This function takes a capability which will be used to determine whether 986 * or not a page is included in the menu. 987 * 988 * The function which is hooked in to handle the output of the page must check 989 * that the user has the required capability as well. 960 990 * 961 991 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected … … 971 1001 /** 972 1002 * Add sub menu page to the themes main menu. 1003 * 1004 * This function takes a capability which will be used to determine whether 1005 * or not a page is included in the menu. 1006 * 1007 * The function which is hooked in to handle the output of the page must check 1008 * that the user has the required capability as well. 973 1009 * 974 1010 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected … … 984 1020 /** 985 1021 * Add sub menu page to the plugins main menu. 1022 * 1023 * This function takes a capability which will be used to determine whether 1024 * or not a page is included in the menu. 1025 * 1026 * The function which is hooked in to handle the output of the page must check 1027 * that the user has the required capability as well. 986 1028 * 987 1029 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected … … 997 1039 /** 998 1040 * Add sub menu page to the Users/Profile main menu. 1041 * 1042 * This function takes a capability which will be used to determine whether 1043 * or not a page is included in the menu. 1044 * 1045 * The function which is hooked in to handle the output of the page must check 1046 * that the user has the required capability as well. 999 1047 * 1000 1048 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected … … 1013 1061 /** 1014 1062 * Add sub menu page to the Dashboard main menu. 1063 * 1064 * This function takes a capability which will be used to determine whether 1065 * or not a page is included in the menu. 1066 * 1067 * The function which is hooked in to handle the output of the page must check 1068 * that the user has the required capability as well. 1015 1069 * 1016 1070 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected … … 1026 1080 /** 1027 1081 * Add sub menu page to the posts main menu. 1082 * 1083 * This function takes a capability which will be used to determine whether 1084 * or not a page is included in the menu. 1085 * 1086 * The function which is hooked in to handle the output of the page must check 1087 * that the user has the required capability as well. 1028 1088 * 1029 1089 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected … … 1039 1099 /** 1040 1100 * Add sub menu page to the media main menu. 1101 * 1102 * This function takes a capability which will be used to determine whether 1103 * or not a page is included in the menu. 1104 * 1105 * The function which is hooked in to handle the output of the page must check 1106 * that the user has the required capability as well. 1041 1107 * 1042 1108 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected … … 1052 1118 /** 1053 1119 * Add sub menu page to the links main menu. 1120 * 1121 * This function takes a capability which will be used to determine whether 1122 * or not a page is included in the menu. 1123 * 1124 * The function which is hooked in to handle the output of the page must check 1125 * that the user has the required capability as well. 1054 1126 * 1055 1127 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected … … 1065 1137 /** 1066 1138 * Add sub menu page to the pages main menu. 1139 * 1140 * This function takes a capability which will be used to determine whether 1141 * or not a page is included in the menu. 1142 * 1143 * The function which is hooked in to handle the output of the page must check 1144 * that the user has the required capability as well. 1067 1145 * 1068 1146 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected … … 1078 1156 /** 1079 1157 * Add sub menu page to the comments main menu. 1158 * 1159 * This function takes a capability which will be used to determine whether 1160 * or not a page is included in the menu. 1161 * 1162 * The function which is hooked in to handle the output of the page must check 1163 * that the user has the required capability as well. 1080 1164 * 1081 1165 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
Note: See TracChangeset
for help on using the changeset viewer.