wallet balance email
This commit is contained in:
parent
12251aed05
commit
a1c0ac76a3
1 changed files with 8 additions and 8 deletions
|
@ -501,7 +501,7 @@ class LBRY_Admin
|
|||
if ( ! get_transient( 'lbry_wallet_warning_email' ) ) {
|
||||
$email = get_option( 'admin_email' );
|
||||
$subject = 'Your LBRYPress Wallet Balance is Low!';
|
||||
$message = "Your LBRY Wallet for your WordPress installation at " . site_url() . " is running very low.\r\n\r\nYou currently have " . $balance . ' LBC left in your wallet. In order to keep publishing to the LBRY network, please add some LBC to your account.';
|
||||
$message = 'Your LBRY Wallet for your WordPress installation at ' . site_url() . ' is running very low.\r\n\r\nYou currently have ' . $balance . ' LBC left in your wallet. In order to keep publishing to the LBRY network, please add some LBC to your account.';
|
||||
wp_mail( $email, $subject, $message );
|
||||
set_transient( 'lbry_wallet_warning_email', true, DAY_IN_SECONDS );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue