PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / 1.9.6
Subscriptions for WooCommerce with Stripe Recurring Payments v1.9.6
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 / status-changed-admin-plain.php

status-changed-admin-plain.php in Subscriptions for WooCommerce with Stripe Recurring Payments 1.9.6, at templates/emails/plains/status-changed-admin-plain.php

57 lines 1.8 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 string $old_status Readable Old Status of Subscription.
7 * @var string $new_status Readable New Status of Subscription.
8 * @var int $id Subscription id.
9 * @var string $product_name Product name.
10 * @var int $qty Subscription Quantity.
11 * @var string $amount Subscription Amount with price format.
12 * @var string $view_subscription_url Subscription view URL.
13 * @var string $next_date Next payment date.
14 */
15
16 // Exit if accessed directly.
17 if ( ! defined( 'ABSPATH' ) ) {
18 exit;
19 }
20
21 echo esc_html( '= ' . $email_heading . " =\n\n" );
22
23 // translators: first is older status and last is newly updated status.
24 $opening_paragraph = __( 'Subscription status changed from %1$s to %2$s', 'subscription' );
25
26 echo esc_html( sprintf( $opening_paragraph, $old_status, $new_status ) . "\n\n" );
27
28 echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
29
30 // translators: Subscription id.
31 echo esc_html( sprintf( __( 'Subscription Id: %s', 'subscription' ), $id ) . "\n" );
32
33 // translators: Product name.
34 echo esc_html( sprintf( __( 'Product: %s', 'subscription' ), $product_name ) . "\n" );
35
36 // translators: Subscription quantity.
37 echo esc_html( sprintf( __( 'Qty: %s', 'subscription' ), $qty ) . "\n" );
38
39 // translators: Subscription amount.
40 echo wp_kses_post( sprintf( __( 'Amount: %s', 'subscription' ), $amount ) . "\n" );
41
42
43 echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
44
45 echo wp_kses_post(
46 make_clickable(
47 sprintf(
48 // translators: subscription url.
49 __( 'You can view the subscription here: %s', 'subscription' ),
50 $view_subscription_url
51 )
52 )
53 );
54 echo esc_html( "\n\n" );
55
56 echo esc_html( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
57