Thread Starter
msebim
(@msebim)
I changed range array on /includes/class-hf-date-time-functions.php
public static function get_subscription_period_interval_strings($interval = ”) {
$intervals = array(1 => __(‘every’, ‘xa-woocommerce-subscription’));
$range = array ( 0 => 2, 1 => 3, 2 => 4, 3 => 5, 4 => 6, 5 => 7, 6 => 8, 7 => 9, 8 => 10,);
and seems to work.
Complete and working solution:
<?php
$display_status = $wpo_wcpdf->export->order->status;
$display_status_label = __( ‘Order status:’, ‘wpo_wcpdf’ );
?>
<span class=”order-date-label”><?php echo $display_status_label; ?></span>
<span class=”order-date”><?php echo $display_status; ?></span>
SebiM