customize_validate_{$this->id}
最后更新于:2021-11-26 04:10:17
apply_filters( “customize_validate_{$this->id}”, GC_Error $validity, mixed $value, GC_Customize_Setting $setting )
Validates a Customize setting value.
参数
- $validity
-
(GC_Error)
Filtered fromtrue
toGC_Error
when invalid. - $value
-
(mixed)
Value of the setting. - $setting
-
(GC_Customize_Setting)
GC_Customize_Setting instance.
源文件
文件: gc-includes/class-gc-customize-setting.php