delete_term_meta

SummerySummery

Removes metadata matching criteria from a term.

Syntax

delete_term_meta( int $term_id, string $meta_key, mixed $meta_value = '' )

ParametersParameters

$term_id

(int) (Required) Term ID.

$meta_key

(string) (Required) Metadata name.

$meta_value

(mixed) (Optional) Metadata value. If provided, rows will only be removed that match the value.

Default value: ''

ReturnReturn

(bool) True on success, false on failure.

SourceSource

File: wp-includes/taxonomy.php


			

ChangelogChangelog

Changelog
Version Description
4.4.0 Introduced.
Scroll to Top