| 1 |
<?php |
| 2 |
/** |
| 3 |
* Admin notice: a subscription was cancelled (free), plain text. |
| 4 |
* |
| 5 |
* @var string $email_heading Email heading. |
| 6 |
* @var string $intro Opening sentence. |
| 7 |
* @var string $reason Reason the customer gave, may be empty. |
| 8 |
* @var string $reported_at When this was reported. |
| 9 |
* @var string $reports_url Admin Reports page. |
| 10 |
* @var string $upgrade_url Pro product page. |
| 11 |
* |
| 12 |
* @package SpringDevs\Subscription |
| 13 |
*/ |
| 14 |
|
| 15 |
defined( 'ABSPATH' ) || exit; |
| 16 |
|
| 17 |
echo '= ' . esc_html( $email_heading ) . " =\n\n"; |
| 18 |
echo esc_html( $intro ) . "\n\n"; |
| 19 |
echo esc_html__( 'Reason given:', 'subscription' ) . ' ' . esc_html( '' !== $reason ? $reason : __( 'No reason given', 'subscription' ) ) . "\n"; |
| 20 |
echo esc_html__( 'Reported:', 'subscription' ) . ' ' . esc_html( $reported_at ) . "\n\n"; |
| 21 |
echo esc_html__( 'Which customer cancelled, what they wrote, and your full churn history are shown in WPSubscription Pro.', 'subscription' ) . "\n\n"; |
| 22 |
echo esc_html__( 'See it in Pro:', 'subscription' ) . ' ' . esc_url_raw( $upgrade_url ) . "\n"; |
| 23 |
echo esc_html__( 'Reports:', 'subscription' ) . ' ' . esc_url_raw( $reports_url ) . "\n"; |
| 24 |
|