WC_Data_Store::delete( WC_Data $data, array $args = array() )

Delete an object from the data store.


Description Description


Parameters Parameters

$data

(Required) WooCommerce data instance.

$args

(Optional) Array of args to pass to the delete method.

Default value: array()


Top ↑

Source Source

File: includes/class-wc-data-store.php

	public function delete( &$data, $args = array() ) {
		$this->instance->delete( $data, $args );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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