get_id() );
if ( count( $histories ) > 0 ) :
?>
has_status( 'completed' ) ) :
?>
Your subscription will be activated when order status is completed.
get_item( $history->order_item_id );
$item_meta = wc_get_order_item_meta( $history->order_item_id, '_subscrpt_meta', true );
$subscription_id = $history->subscription_id;
$subscription_status_object = get_post_status_object( get_post_status( $subscription_id ) );
$cost = get_post_meta( $subscription_id, '_subscrpt_price', true );
$has_trial = isset( $item_meta['trial'] ) && strlen( $item_meta['trial'] ) > 2;
$start_date = get_post_meta( $subscription_id, '_subscrpt_start_date', true );
$next_date = get_post_meta( $subscription_id, '_subscrpt_next_date', true );
?>
|
| get_name(); ?>
× get_quantity() ); ?>
|
| |
label ); ?> |
|
|
get_id() ) ); ?> |
| : |
|
| : |
|
| : |
|
|