/** * Echo the invoice sender_note * @param integer $id * @return string */ function si_invoice_sender_note($id = 0) { if (!$id) { $id = get_the_ID(); } echo apply_filters('si_invoice_sender_note', si_get_invoice_sender_note($id), $id); }
/** * Echo the invoice sender_note * @param integer $id * @return string */ function si_invoice_sender_note($id = 0) { if (!$id) { global $post; $id = $post->ID; } echo apply_filters('si_invoice_sender_note', si_get_invoice_sender_note($id), $id); }