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