| 1 |
<?php |
| 2 |
/** |
| 3 |
* Email Body |
| 4 |
* |
| 5 |
* Override this template by copying it to yourtheme/charitable/emails/body.php |
| 6 |
* |
| 7 |
* @author WP Charitable LLC |
| 8 |
* @package Charitable/Templates/Emails |
| 9 |
* @version 1.0.0 |
| 10 |
*/ |
| 11 |
|
| 12 |
// Exit if accessed directly. |
| 13 |
if ( ! defined( 'ABSPATH' ) ) { |
| 14 |
exit; |
| 15 |
} |
| 16 |
|
| 17 |
if ( ! isset( $view_args['email'] ) ) { |
| 18 |
return; |
| 19 |
} |
| 20 |
|
| 21 |
echo $view_args['email']->get_body(); |
| 22 |
|