/**
  * Echo the invoice currency
  * @param  integer $id
  * @return string
  */
 function si_invoice_currency($id = 0)
 {
     if (!$id) {
         $id = get_the_ID();
     }
     echo apply_filters('si_invoice_currency', si_get_invoice_currency($id), $id);
 }
示例#2
0
 /**
  * Echo the invoice currency
  * @param  integer $id 
  * @return string      
  */
 function si_invoice_currency($id = 0)
 {
     if (!$id) {
         global $post;
         $id = $post->ID;
     }
     echo apply_filters('si_invoice_currency', si_get_invoice_currency($id), $id);
 }