LLMS_Voucher::delete_products()

Delete products from a voucher


Return Return

(int)


Top ↑

Source Source

File: includes/class.llms.voucher.php

558
559
560
561
562
563
564
565
566
567
568
public function delete_products() {
 
    global $wpdb;
 
    return $wpdb->delete(
        $this->get_product_to_voucher_table_name(),
        array(
            'voucher_id' => $this->id,
        )
    );
}


Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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