WC_Product_Variation::delete( bool $force_delete = false )

Delete variation, set the ID to 0, and return result.


Description Description


Parameters Parameters

$force_delete

(Optional) Should the variation be deleted permanently.

Default value: false


Top ↑

Return Return

(bool) result


Top ↑

Source Source

File: includes/class-wc-product-variation.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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