update_meta( int $meta_id, string $meta_key, string $meta_value ): bool

In this article

Updates post meta data by meta ID.

Parameters

$meta_idintrequired
Meta ID.
$meta_keystringrequired
Meta key. Expect slashed.
$meta_valuestringrequired
Meta value. Expect slashed.

Return

bool

Source

*
* @param int    $meta_id    Meta ID.
* @param string $meta_key   Meta key. Expect slashed.
* @param string $meta_value Meta value. Expect slashed.
* @return bool
*/

Changelog

VersionDescription
1.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.