MP_Calculator_VC::__construct()
VC constructor.
Source Source
File: mortgage-platform/Inc/Calculators/MortgageCalculator/Extensions/MP_Calculator_VC.php
public function __construct() {
if ( function_exists( 'vc_map' ) ) { // test for visual composer first
add_action( 'vc_before_init', array( $this, 'vc_calculator' ) );
}
$settings = new MP_Settings();
$this->settings = $settings->get_google_fonts();
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |