MP_Calculator_ElementorWidget::render()

Render oEmbed widget output on the frontend.


Description Description

Written in PHP and used to generate the final HTML.


Top ↑

Source Source

File: mortgage-platform/Inc/Calculators/MortgageCalculator/Extensions/MP_Calculator_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_Calculator_Shortcode();
		echo $shortcode->mortgage_calculator( $args );

	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.