Options: Add missing since for register_setting argument.
[38635] added support for extra arguments on registration, but was not documented. See #37885. git-svn-id: https://develop.svn.wordpress.org/trunk@38676 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
84b67c9e6b
commit
60b09f3005
|
@ -1768,6 +1768,7 @@ function user_can_access_admin_page() {
|
|||
* Register a setting and its data.
|
||||
*
|
||||
* @since 2.7.0
|
||||
* @since 4.7.0 `$args` can be passed to set flags on the setting, similar to `register_meta()`.
|
||||
*
|
||||
* @global array $new_whitelist_options
|
||||
* @global array $wp_registered_settings
|
||||
|
|
Loading…
Reference in New Issue