WC_Gateway_Paypal_Request::delete_line_items()protectedWC 1.0

Remove all line items.

Method of the class: WC_Gateway_Paypal_Request{}

No Hooks.

Return

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 8.7.0

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