delete_term_meta( integer $term_id, string $meta_key, mixed $meta_value )
Removes metadata matching criteria from a term.
Shortcut: dtm
You can use above key combination to trigger the associated snippet for this function in the WordPress Snippets for Visual Studio Code extension. You can also use this shortcut to search for this function on this website.
Name | Type(s) | Default Value | Description |
---|---|---|---|
$term_id |
integer
| Term ID. |
|
$meta_key |
string
| Metadata name. |
|
$meta_value |
mixed
| '' |
Optional. Metadata value. If provided, rows will only be removed that match the value. |
boolean
True on success, false on failure.