2020-05-02 / 6031阅 / 悠然
注册设置及其数据。
(string)
(Required)
A settings group name. Should correspond to a whitelisted option key name. Default whitelisted option key names include 'general', 'discussion', 'media', 'reading', 'writing', 'misc', 'options', and 'privacy'.
(string)
(Required)
The name of an option to sanitize and save.
(array)
(Optional)
Data used to describe the setting when registered.
Default value: array()