MP_Calculator_Register::iframe_page( string $template )
Template Iframe Page.
Contents
Parameters Parameters
- $template
-
(string) (Required) template
Return Return
(string)
Source Source
File: mortgage-platform/Inc/Calculators/MortgageCalculator/MP_Calculator_Register.php
public function iframe_page( $template ) {
global $post;
if ( isset( $post ) && MortgagePlatform::$page_name === $post->post_name ) {
return plugin_dir_path( __FILE__ ) . 'templates/calculatorPage.php';
}
return $template;
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |