WC_Gateway_Paypal_Request::delete_line_itemsprotectedWC 1.0

Remove all line items.

Method of the class: WC_Gateway_Paypal_Request{}

No Hooks.

Returns

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->delete_line_items();

WC_Gateway_Paypal_Request::delete_line_items() code WC 10.8.1

protected function delete_line_items() {
	$this->line_items = array();
}