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

@ -12,7 +12,7 @@ namespace WP_Ultimo\Checkout\Signup_Fields\Field_Templates\Steps;
// Exit if accessed directly
defined('ABSPATH') || exit;
use \WP_Ultimo\Checkout\Signup_Fields\Field_Templates\Base_Field_Template;
use WP_Ultimo\Checkout\Signup_Fields\Field_Templates\Base_Field_Template;
/**
* Template Selection Clean
@ -52,8 +52,7 @@ class Legacy_Steps_Field_Template extends Base_Field_Template {
public function get_render_type(): string {
return 'dynamic';
} // end get_render_type;
}
/**
* The title of the field template.
@ -66,8 +65,7 @@ class Legacy_Steps_Field_Template extends Base_Field_Template {
public function get_title() {
return __('Legacy', 'wp-ultimo');
} // end get_title;
}
/**
* The description of the field template.
@ -80,8 +78,7 @@ class Legacy_Steps_Field_Template extends Base_Field_Template {
public function get_description() {
return __('Implementation of the layout that shipped with WP Ultimo < 1.10.X.', 'wp-ultimo');
} // end get_description;
}
/**
* The preview of the field template.
@ -92,8 +89,7 @@ class Legacy_Steps_Field_Template extends Base_Field_Template {
public function get_preview(): string {
return wu_get_asset('checkout-forms/legacy-steps.png');
} // end get_preview;
}
/**
* The content of the template.
@ -106,7 +102,5 @@ class Legacy_Steps_Field_Template extends Base_Field_Template {
public function output($attributes) {
wu_get_template('checkout/templates/steps/legacy', $attributes);
} // end output;
} // end class Legacy_Steps_Field_Template;
}
}