MP_Addon_CalculatorsReportingAddon::actions()
Actions.
Source Source
File: calculator-reporting-add-on/calculator-reporting-add-on.php
public function actions() {
add_filter( MortgagePlatform::$prefix . 'result_addition', array( $this, 'result_addition' ), 10, 2 );
add_filter( MortgagePlatform::$prefix . 'after_calculator_result', array( $this, 'share_result' ), 10, 2 );
add_action( MortgagePlatform::$prefix . 'addons-styles', array( $this, 'enqueue_scripts' ) );
add_filter( MortgagePlatform::$prefix . 'iframe_mortgage_calculator_scripts', array( $this, 'iframe_scripts' ) );
add_action('admin_menu', array($this, 'add_mortgage_platform_addon'), 50);
$this->ajax();
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |