PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / 1.9.5
Subscriptions for WooCommerce with Stripe Recurring Payments v1.9.5
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.9.5, at templates/emails/plains/subscription-expired-plain.php

54 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 * @var string $view_subscription_url Subscription view URL.
11 */
12
13 // Exit if accessed directly.
14 if ( ! defined( 'ABSPATH' ) ) {
15 exit;
16 }
17
18 echo esc_html( '= ' . $email_heading . " =\n\n" );
19
20 // translators: <b></b> tag.
21 $opening_paragraph = __( 'Your subscription is %1$s Expired! %2$s', 'subscription' );
22
23 echo wp_kses_post( sprintf( $opening_paragraph, '<b>', '</b>' ) . "\n\n" );
24
25 echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
26
27 // translators: Subscription id.
28 echo esc_html( sprintf( __( 'Subscription Id: %s', 'subscription' ), $id ) . "\n" );
29
30 // translators: Product name.
31 echo esc_html( sprintf( __( 'Product: %s', 'subscription' ), $product_name ) . "\n" );
32
33 // translators: Subscription quantity.
34 echo esc_html( sprintf( __( 'Qty: %s', 'subscription' ), $qty ) . "\n" );
35
36 // translators: Subscription amount.
37 echo wp_kses_post( sprintf( __( 'Amount: %s', 'subscription' ), $amount ) . "\n" );
38
39
40 echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
41
42 echo wp_kses_post(
43 make_clickable(
44 sprintf(
45 // translators: subscription url.
46 __( 'You can view the subscription here: %s', 'subscription' ),
47 $view_subscription_url
48 )
49 )
50 );
51 echo esc_html( "\n\n" );
52
53 echo esc_html( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
54