$post->ID,
'approve' => 'approve',
'type' => ''
);
$notes = get_comments( $args );
echo '
';
if ($notes) :
foreach($notes as $note) :
$customer_note = get_comment_meta($note->comment_ID, 'is_customer_note', true);
echo '';
echo wpautop(wptexturize($note->comment_content));
echo '
'. sprintf(__('added %s ago', 'woothemes'), human_time_diff(strtotime($note->comment_date), current_time('timestamp'))) .' - '.__('Delete note', 'woothemes').'
';
echo ' ';
endforeach;
else :
echo '- ' . __('There are no notes for this order yet.', 'woothemes') . '
';
endif;
echo '
';
?>