Use new code style
This commit is contained in:
@ -1,24 +1,28 @@
|
||||
<form id="wu_form" method="post" class="wu-styling wu-relative">
|
||||
|
||||
<?php
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Instantiate the form for the order details.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
$order_form = new \WP_Ultimo\UI\Form('product-fields', $product_fields, array(
|
||||
'title' => __('Products', 'wp-ultimo'),
|
||||
'views' => 'checkout/fields',
|
||||
));
|
||||
/**
|
||||
* Instantiate the form for the order details.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
$order_form = new \WP_Ultimo\UI\Form(
|
||||
'product-fields',
|
||||
$product_fields,
|
||||
array(
|
||||
'title' => __('Products', 'wp-ultimo'),
|
||||
'views' => 'checkout/fields',
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Render form fields.
|
||||
*
|
||||
* @see /view/checkout/fields/ for the template files for each field type.
|
||||
* @since 2.0.0
|
||||
*/
|
||||
$order_form->render();
|
||||
/**
|
||||
* Render form fields.
|
||||
*
|
||||
* @see /view/checkout/fields/ for the template files for each field type.
|
||||
* @since 2.0.0
|
||||
*/
|
||||
$order_form->render();
|
||||
|
||||
/**
|
||||
* Instantiate the form for the submit button and such.
|
||||
|
Reference in New Issue
Block a user