Use new code style

This commit is contained in:
David Stone
2025-02-07 19:02:33 -07:00
parent 0181024ae1
commit 8433379d90
672 changed files with 37107 additions and 45249 deletions

View File

@ -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.