mwform_is_mail_sended
mwform_is_mail_sended
Appears in: mw-wp-form.4.0.3, mw-wp-form.4.0.6, mw-wp-form.4.1.1, mw-wp-form.4.1.2, mw-wp-form.4.2.0, mw-wp-form.4.3.1, mw-wp-form.4.3.2, mw-wp-form.4.4.0, mw-wp-form.4.4.1, mw-wp-form.4.4.2, mw-wp-form.4.4.3, mw-wp-form.4.4.4, mw-wp-form.4.4.5, mw-wp-form.5.0.0, mw-wp-form.5.0.1, mw-wp-form.5.0.6, mw-wp-form.5.1.0
Hook Type: filter
Displaying hooks found in version: mw-wp-form.5.1.0apply_filters('mwform_is_mail_sended') is found 2 times:
- /classes/models/class.mail.php line 80
$this->bcc = trim( $this->bcc ); $this->reply_to = trim( $this->reply_to ); if ( ! $this->to ) { return apply_filters( 'mwform_is_mail_sended', false ); } add_action( 'phpmailer_init', array( $this, '_set_return_path' ) ); add_filter( 'wp_mail_from', array( $this, '_set_mail_from' ) ); add_filter( 'wp_mail_from_name', array( $this, '_set_mail_from_name' ) );
- /classes/models/class.mail.php line 116
remove_action( 'phpmailer_init', array( $this, '_set_return_path' ) ); remove_filter( 'wp_mail_from', array( $this, '_set_mail_from' ) ); remove_filter( 'wp_mail_from_name', array( $this, '_set_mail_from_name' ) ); return apply_filters( 'mwform_is_mail_sended', $is_mail_sended ); } /** * Set mail from. * * @param string $email E-mail.