WC_Gateway_Paypal_Request::delete_line_items()
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() WC Gateway Paypal Request::delete line items code WC 8.7.0
protected function delete_line_items() { $this->line_items = array(); }