Improve inline documentation for register_setting(). Props filosofo. fixes #10368

git-svn-id: https://develop.svn.wordpress.org/trunk@11991 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-10-01 17:54:24 +00:00
parent bb4c840efb
commit 30e0d4173f
1 changed files with 2 additions and 1 deletions

View File

@ -990,7 +990,8 @@ function user_can_access_admin_page() {
*
* @since 2.7.0
*
* @param string $option_group A settings group name. Can be anything.
* @param string $option_group A settings group name. Should correspond to a whitelisted option key name.
* Default whitelisted option key names include "general," "discussion," and "reading," among others.
* @param string $option_name The name of an option to sanitize and save.
* @param unknown_type $sanitize_callback A callback function that sanitizes the option's value.
* @return unknown