Пример #1
0
 /**
  * Echo the estimate currency
  * @param  integer $id
  * @return string
  */
 function si_estimate_currency($id = 0)
 {
     if (!$id) {
         $id = get_the_ID();
     }
     echo apply_filters('si_estimate_currency', si_get_estimate_currency($id), $id);
 }
Пример #2
0
 /**
  * Echo the estimate currency
  * @param  integer $id 
  * @return string      
  */
 function si_estimate_currency($id = 0)
 {
     if (!$id) {
         global $post;
         $id = $post->ID;
     }
     echo apply_filters('si_estimate_currency', si_get_estimate_currency($id), $id);
 }