Ready to get started?Download WordPress


Function call Issue (1 post)

  1. kevinnovating
    Posted 7 months ago #

    I don't know if this is obvious, I'm not a PHP programmer. I want to call the function in php and integrate it with my theme. I'm using this function:

    <?php echo currencyr_exchange( array( 'amount' => 7000, 'to' => 'usd' ) ); ?>

    I want is to be able to use a function for the price instead of a numeric value, like this:

    <?php echo currencyr_exchange( array( 'amount' => listing_price(), 'to' => 'usd' ) ); ?>

    Can it be done? maybe my syntax is wrong, I know, but there must be a way to call the price function as the value for 'amount'.

    Hope you can help, BTW the theme I'm using is WP pro Real Estate 4.




You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 7 months ago by kevinnovating
  • This topic is not resolved
  • WordPress version: 3.7.1