Update the post meta
public update_meta ( string $meta_key = '', string $meta_value = '', string $prev_value = '' ) : integer | boolean | ||
$meta_key | string | The meta key to update |
$meta_value | string | The meta value |
$prev_value | string | Previous meta value |
Résultat | integer | boolean | Meta ID if the key didn't exist, true on successful update, false on failure |