Automattic\WooCommerce\Internal\OrderWithdrawal

OrderWithdrawalController::get_template_args │ private │ WC 1.0

Get template arguments for the order withdrawal form.

Method of the class: OrderWithdrawalController{}

No Hooks.

Returns

array<string,mixed>.

Usage

// private - for code of main (parent) class only
$result = $this->get_template_args(): array;

OrderWithdrawalController::get_template_args() code WC 11.1.2

private function get_template_args(): array {
	return $this->form_view->get_template_args(
		$this->form_processor->process_current_request(),
		$this->get_form_action_url(),
		$this->get_shop_url()
	);
}