WordPress at Your Fingertips
function is not described

WC_Gateway_Paypal_Request::delete_line_items() protected WC 1.0

Remove all line items.

{} It's a method of the class: WC_Gateway_Paypal_Request{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Gateway_Paypal_Request::delete_line_items() WC 5.6.0

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