Changeset 52035 for trunk/src/wp-admin/includes/deprecated.php
- Timestamp:
- 11/08/2021 10:47:55 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/deprecated.php
r51827 r52035 164 164 * @see register_setting() 165 165 * 166 * @param string $option_groupA settings group name. Should correspond to an allowed option key name.167 * Default allowed option key names include 'general', 'discussion', 'media',168 * 'reading', 'writing', and 'options'.169 * @param string $option_nameThe name of an option to sanitize and save.170 * @param callable $sanitize_callback A callback function that sanitizes the option's value.166 * @param string $option_group A settings group name. Should correspond to an allowed option key name. 167 * Default allowed option key names include 'general', 'discussion', 'media', 168 * 'reading', 'writing', and 'options'. 169 * @param string $option_name The name of an option to sanitize and save. 170 * @param callable $sanitize_callback Optional. A callback function that sanitizes the option's value. 171 171 */ 172 172 function add_option_update_handler( $option_group, $option_name, $sanitize_callback = '' ) { … … 182 182 * @see unregister_setting() 183 183 * 184 * @param string $option_group185 * @param string $option_name186 * @param callable $sanitize_callback 184 * @param string $option_group The settings group name used during registration. 185 * @param string $option_name The name of the option to unregister. 186 * @param callable $sanitize_callback Optional. Deprecated. 187 187 */ 188 188 function remove_option_update_handler( $option_group, $option_name, $sanitize_callback = '' ) { … … 1427 1427 * @param string $capability The capability required for this menu to be displayed to the user. 1428 1428 * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). 1429 * @param callable $function The function to be called to output the content for this page.1430 * @param string $icon_url The urlto the icon to be used for this menu.1429 * @param callable $function Optional. The function to be called to output the content for this page. 1430 * @param string $icon_url Optional. The URL to the icon to be used for this menu. 1431 1431 * @return string The resulting page's hook_suffix. 1432 1432 */ … … 1460 1460 * @param string $capability The capability required for this menu to be displayed to the user. 1461 1461 * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). 1462 * @param callable $function The function to be called to output the content for this page.1463 * @param string $icon_url The urlto the icon to be used for this menu.1462 * @param callable $function Optional. The function to be called to output the content for this page. 1463 * @param string $icon_url Optional. The URL to the icon to be used for this menu. 1464 1464 * @return string The resulting page's hook_suffix. 1465 1465 */
Note: See TracChangeset
for help on using the changeset viewer.