1. 首页
  2. WordPress 函数手册

remove_option_update_handler()

remove_option_update_handler( string $option_group, string $option_name, callable $sanitize_callback =  )

取消注册设置
Unregister a setting

目录锚点:#说明#参数#返回#源码


说明(Description)

另见函数 unregister_setting()


参数(Parameters)

参数 类型 必填 说明
$option_group (string) 必需
$option_name (string) 必需
$sanitize_callback (callable) 可选

返回(Return)

无返回值


源码(Source)


更新版本 源码位置 使用 被使用
3.0.0 wp-admin/includes/deprecated.php:184 0 2

remove_option_update_handler() 为WP2原创文章,链接:https://www.wp2.cn/functions/remove_option_update_handler/