delete_term_meta()函数是Wordpress函数,从术语中删除元数据匹配条件。
delete_term_meta( int $term_id, string $meta_key, mixed $meta_value = ” )
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$term_id | (int) | 必需 | 术语ID。 |
$meta_key | (string) | 必需 | 元数据名称。 |
$meta_value | (mixed) | 可选 | 元数据值。如果提供,则只删除与该值匹配的行。 |
返回(Return)
(bool)成功时正确,失败时错误。
源码(Source)
//暂无
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.4.0 | wp-includes/taxonomy.php:1238 | 0 | 1 function |