Deprecated
This method has been deprecated.
AnsPress_Email_Hooks::send_mail( string $email, string $subject, string $message )
Description #
Send email to users.
Parameters #
- $emailstring (Required) Email id to send.
- $subjectstring (Required) Email subject.
- $messagestring (Required) Email body.
Source #
File: addons/free/email.php
public static function send_mail( $email, $subject, $message ) { if ( defined( 'AP_DISABLE_EMAIL' ) && true === AP_DISABLE_EMAIL ) { return; } wp_mail( $email, $subject, $message, SELF::header() ); }
Expand full source code Collapse full source code View on GitHub: addons/free/email.php:286
Add your comment