LLMS_Voucher::delete_products()
Delete products from a voucher
Return Return
(int)
Source Source
File: includes/class.llms.voucher.php
public function delete_products() {
global $wpdb;
return $wpdb->delete(
$this->get_product_to_voucher_table_name(),
array(
'voucher_id' => $this->id,
)
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |