MP_Addon_Payoff_ElementorWidget::render()
Render oEmbed widget output on the frontend.
Contents
Description Description
Written in PHP and used to generate the final HTML.
Source Source
File: calculator-mortgage-payoff-add-on/inc/extensions/MP_Addon_Payoff_ElementorWidget.php
protected function render() {
$settings = $this->get_settings();
$args = array(
"type_style" => $settings['type_style'],
"primary_color" => $settings['primary_color'],
"fonts" => $settings['fonts'],
"type_inputs" => $settings['type_inputs'],
"rounded_elements" => $settings['rounded_elements'],
"slider_for_input" => $settings['slider_for_input'],
"type_slyder" => $settings['type_slyder'],
);
$shortcode = new MP_Addon_Payoff_Shortcode();
echo $shortcode->mortgage_payoff_calculator($args);
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |