首页>文档>Wordpress开发文档>Wordpress 函数>rest_sanitize_value_from_schema()

rest_sanitize_value_from_schema()

基于架构清理值。

rest_sanitize_value_from_schema(mixed $value,array $args)

参数(Parameters)

参数类型必填说明
$value(mixed)必需要清理的值。
$args(array)必需用于清理的架构数组。

返回(Return)

(true|WP_Error)

更新版本源码位置使用被使用
4.7.0wp-includes/rest-api.php:140477
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索