register_setting
最后更新于:2021-11-27 21:45:10
do_action( ‘register_setting’, string $option_group, string $option_name, array $args )
Fires immediately before the setting is registered but after its filters are in place.
参数
- $option_group
-
(string)
Setting group. - $option_name
-
(string)
Setting name. - $args
-
(array)
Array of setting registration arguments.
源文件
文件: gc-includes/option.php