get_id(); } else { $order_id = $post->ID; } $args = array( 'order_id' => $order_id ); if ( 0 !== $order_id ) { $notes = wc_get_order_notes( $args ); } else { $notes = array(); } include __DIR__ . '/views/html-order-notes.php'; ?>