wpseek.com
WordPress开发者和主题制作者的搜索引擎



remove_option_update_handler › WordPress Function

Since2.7.0
已弃用3.0.0
remove_option_update_handler ( $option_group, $option_name, $sanitize_callback = '' )
参数: (3)
  • (string) $option_group The settings group name used during registration.
    Required: Yes
  • (string) $option_name The name of the option to unregister.
    Required: Yes
  • (callable) $sanitize_callback Optional. Deprecated.
    Required: No
    默认: (empty)
查看:
定义在:
文档:

Unregister a setting



源码

function remove_option_update_handler( $option_group, $option_name, $sanitize_callback = '' ) {
	_deprecated_function( __FUNCTION__, '3.0.0', 'unregister_setting()' );
	unregister_setting( $option_group, $option_name, $sanitize_callback );
}