Give_Customer::update_meta PHP Method

update_meta() public method

Update customer meta field based on customer ID.
Since: 1.6
public update_meta ( string $meta_key = '', mixed $meta_value, mixed $prev_value = '' ) : boolean
$meta_key string Metadata key. Default is empty.
$meta_value mixed Metadata value.
$prev_value mixed Optional. Previous value to check before removing. Default is empty.
return boolean False on failure, true if success.
    public function update_meta($meta_key = '', $meta_value, $prev_value = '')
    {
        return Give()->customer_meta->update_meta($this->id, $meta_key, $meta_value, $prev_value);
    }