Exemplo n.º 1
0
 /**
  * Echo the estimate terms
  * @param  integer $id
  * @return string
  */
 function si_estimate_terms($id = 0)
 {
     if (!$id) {
         $id = get_the_ID();
     }
     echo apply_filters('si_estimate_terms', si_get_estimate_terms($id), $id);
 }
Exemplo n.º 2
0
						<div id="doc_notes">
							<h2><?php 
    si_e('Notes');
    ?>
</h2>
							<?php 
    si_estimate_notes();
    ?>
						</div><!-- #doc_notes -->
						
						<?php 
}
?>

						<?php 
if (strlen(si_get_estimate_terms()) > 1) {
    ?>
						
						<?php 
    do_action('si_document_terms');
    ?>
						<div id="doc_terms">
							<h2><?php 
    si_e('Terms');
    ?>
</h2>
							<?php 
    si_estimate_terms();
    ?>
						</div><!-- #doc_terms -->
						
Exemplo n.º 3
0
 /**
  * Echo the estimate terms
  * @param  integer $id 
  * @return string      
  */
 function si_estimate_terms($id = 0)
 {
     if (!$id) {
         global $post;
         $id = $post->ID;
     }
     echo apply_filters('si_estimate_terms', si_get_estimate_terms($id), $id);
 }