|
get_order_number() ) );
?>
|
|
getTimestamp();
if ( $timestamp_gmt > 0 ) {
// translators: php date format
$t_time = get_the_time( _x( 'Y/m/d g:i:s A', 'post date', 'woocommerce-subscriptions' ), $order_post );
$date_to_display = ucfirst( wcs_get_human_time_diff( $timestamp_gmt ) );
} else {
$t_time = $date_to_display = __( 'Unpublished', 'woocommerce-subscriptions' );
} ?>
|
get_status() ),
);
if ( wcs_is_subscription( $order ) ) {
$status_name = wcs_get_subscription_status_name( $order->get_status() );
$classes[] = 'subscription-status';
} else {
$status_name = wc_get_order_status_name( $order->get_status() );
}
printf( '%s', esc_attr( implode( ' ', $classes ) ), esc_html( $status_name ) );
?>
|
get_formatted_order_total(), array( 'small' => array(), 'span' => array( 'class' => array() ), 'del' => array(), 'ins' => array() ) ); // phpcs:ignore WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound ?>
|