# subscription/1.9.5/templates/emails/status-changed-admin-html.php

Subscriptions for WooCommerce with Stripe Recurring Payments, version 1.9.5. 66 lines.

- Page: https://pluginprobe.com/plugins/subscription/1.9.5/code/templates/emails/status-changed-admin-html.php
- Raw: https://pluginprobe.com/plugins/subscription/1.9.5/raw/templates/emails/status-changed-admin-html.php
- Modified: 2026-03-09T08:29:14+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/subscription/1.9.5/code/templates/emails/status-changed-admin-html.php#L10-L20`.

```php
<?php
/**
 * Mail template for Subscription status changed (Admin).
 *
 * @var string $email_heading Email Heading.
 * @var string $old_status Readable Old Status of Subscription.
 * @var string $new_status Readable New Status of Subscription.
 * @var int $id Subscription id.
 * @var string $product_name Product name.
 * @var int $qty Subscription Quantity.
 * @var string $amount Subscription Amount with price format.
 * @var string $view_subscription_url Subscription view URL.
 * @var string $next_date Next payment date.
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// translators: first is older status and last is newly updated status.
$opening_paragraph = __( 'Subscription status changed from %1$s to %2$s', 'subscription' );
?>

<?php do_action( 'woocommerce_email_header', $email_heading ); ?>


<p><?php printf( esc_html( $opening_paragraph ), wp_kses_post( '<b>' . $old_status . '</b>' ), wp_kses_post( '<b>' . $new_status . '</b>' ) ); ?></p>

<table class="td" cellspacing="0" cellpadding="6" style="width: 100%; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;" border="1">
	<tbody>
		<tr>
			<th scope="row" style="text-align:left; border: 1px solid #eee;"><?php esc_html_e( 'Subscription Id', 'subscription' ); ?></th>
			<td style="text-align:left; border: 1px solid #eee;"><?php echo esc_html( $id ); ?></td>
		</tr>
		<tr>
			<th scope="row" style="text-align:left; border: 1px solid #eee;"><?php esc_html_e( 'Product', 'subscription' ); ?></th>
			<td style="text-align:left; border: 1px solid #eee;"><?php echo esc_html( $product_name ); ?></td>
		</tr>
		<tr>
			<th scope="row" style="text-align:left; border: 1px solid #eee;"><?php esc_html_e( 'Qty', 'subscription' ); ?></th>
			<td style="text-align:left; border: 1px solid #eee;"><?php echo esc_html( $qty ); ?></td>
		</tr>
		<tr>
			<th scope="row" style="text-align:left; border: 1px solid #eee;"><?php esc_html_e( 'Amount', 'subscription' ); ?></th>
			<td style="text-align:left; border: 1px solid #eee;"><?php echo wp_kses_post( $amount ); ?></td>
		</tr>
</tbody>
</table>
<br>
<p>
<?php
echo wp_kses_post(
	make_clickable(
		sprintf(
			// translators: subscription url.
			__( 'You can view the subscription here: %s', 'subscription' ),
			$view_subscription_url
		)
	)
);
?>
	</p>

<?php do_action( 'woocommerce_email_footer' ); ?>

```
