PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / 1.4.2
Subscriptions for WooCommerce with Stripe Recurring Payments v1.4.2
2.0.0 1.11.2 1.11.1 1.11.0 1.10.9 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.6 1.9.5 trunk 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 All 61 releases
subscription / templates / emails / plains / subscription-expired-plain.php

subscription-expired-plain.php in Subscriptions for WooCommerce with Stripe Recurring Payments 1.4.2, at templates/emails/plains/subscription-expired-plain.php

48 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Mail template for Subscription status changed (Admin).
4 *
5 * @var string $email_heading Email Heading.
6 * @var int $id Subscription id.
7 * @var string $product_name Product name.
8 * @var int $qty Subscription Quantity.
9 * @var string $amount Subscription Amount with price format.
10 */
11
12 echo esc_html( '= ' . $email_heading . " =\n\n" );
13
14 // translators: first is older status and last is newly updated status.
15 $opening_paragraph = __( 'Your subscription is %1$s Expired! %2$s', 'sdevs_subscrpt' );
16
17 echo wp_kses_post( sprintf( $opening_paragraph, '<b>', '</b>' ) . "\n\n" );
18
19 echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
20
21 // translators: Subscription id.
22 echo esc_html( sprintf( __( 'Subscription Id: %s', 'sdevs_subscrpt' ), $id ) . "\n" );
23
24 // translators: Product name.
25 echo esc_html( sprintf( __( 'Product: %s', 'sdevs_subscrpt' ), $product_name ) . "\n" );
26
27 // translators: Subscription quantity.
28 echo esc_html( sprintf( __( 'Qty: %s', 'sdevs_subscrpt' ), $qty ) . "\n" );
29
30 // translators: Subscription amount.
31 echo wp_kses_post( sprintf( __( 'Amount: %s', 'sdevs_subscrpt' ), $amount ) . "\n" );
32
33
34 echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
35
36 echo wp_kses_post(
37 make_clickable(
38 sprintf(
39 // translators: subscription id.
40 __( 'You can view and edit this subscription in the dashboard here: %s', 'sdevs_subscrpt' ),
41 admin_url( 'post.php?post=' . $id . '&action=edit' )
42 )
43 )
44 );
45 echo esc_html( "\n\n" );
46
47 echo esc_html( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
48