Title: Function call Issue
Last modified: August 21, 2016

---

# Function call Issue

 *  [kevinnovating](https://wordpress.org/support/users/kevinnovating/)
 * (@kevinnovating)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/function-call-issue/)
 * 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.
 * Regards
 * [http://wordpress.org/plugins/currencyr/](http://wordpress.org/plugins/currencyr/)

The topic ‘Function call Issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/currencyr_414449.svg)
 * [Currencyr](https://wordpress.org/plugins/currencyr/)
 * [Support Threads](https://wordpress.org/support/plugin/currencyr/)
 * [Active Topics](https://wordpress.org/support/plugin/currencyr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/currencyr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/currencyr/reviews/)

## Tags

 * [function](https://wordpress.org/support/topic-tag/function/)
 * [Theme Integration](https://wordpress.org/support/topic-tag/theme-integration/)

 * 0 replies
 * 1 participant
 * Last reply from: [kevinnovating](https://wordpress.org/support/users/kevinnovating/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/function-call-issue/)
 * Status: not resolved