Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

MP_Addon_Microsoft_Spreadsheets::get_invest_amount( string $value )

Get invest amount.


Parameters Parameters

$value

(string) (Required) investment amount value


Top ↑

Return Return

(string) investment amount value


Top ↑

Source Source

File: calculator-microsoft-spreadsheets-add-on/inc/MP_Addon_Microsoft_Spreadsheets.php

	private function get_invest_amount( $value ) {

        $leads_investment_amount = '';
        if ( isset(get_option( MortgagePlatform::$prefix . 'leads' )['leads_investment_amount']) && '' !== get_option( MortgagePlatform::$prefix . 'leads' )['leads_investment_amount'] ) {
            $leads_investment_amount = get_option( MortgagePlatform::$prefix . 'leads' )['leads_investment_amount'];
            $leads_investment_amount = explode( "\n", str_replace( "\r", '', $leads_investment_amount ) );
            $leads_investment_amount = $leads_investment_amount[$value];
        }

        return $leads_investment_amount;

	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.