You appear to be a bot. Output may be restricted
Description
Remove metadata matching criteria from a customer.
For internal use only. Use EDD_Customer->delete_meta() for public usage. You can match based on the key, or key and value. Removing based on key and value, will keep from removing duplicate metadata with the same key. It also allows removing all metadata matching key, if needed.
Usage
EDD_DB_Customer_Meta::delete_meta( $customer_id, $meta_key, $meta_value );
Parameters
- $customer_id
- ( int ) optional – Customer ID.
- $meta_key
- ( string ) optional – Metadata name.
- $meta_value
- ( mixed ) optional – Optional. Metadata value.
Returns
void bool False for failure. True for success.
Source
File name: easy-digital-downloads/includes/class-edd-db-customer-meta.php
Lines:
1 to 3 of 3
public function delete_meta( $customer_id = 0, $meta_key = '', $meta_value = '' ) { return delete_metadata( 'customer', $customer_id, $meta_key, $meta_value ); }