Exemplo n.º 1
0
 /**
  * Echo the estimate status_label
  * @param  integer $id
  * @return string
  */
 function si_estimate_status_label($id = 0)
 {
     if (!$id) {
         $id = get_the_ID();
     }
     echo apply_filters('si_estimate_status_label', si_get_estimate_status_label($id), $id);
 }
Exemplo n.º 2
0
 /**
  * Echo the estimate status_label
  * @param  integer $id 
  * @return string      
  */
 function si_estimate_status_label($id = 0)
 {
     if (!$id) {
         global $post;
         $id = $post->ID;
     }
     echo apply_filters('si_estimate_status_label', si_get_estimate_status_label($id), $id);
 }