mwform_is_mail_sended

mwform_is_mail_sended

Hook Type: filter

See hook in core

Displaying hooks found in version: mw-wp-form.5.1.0

apply_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.