HM\BackUpWordPress\File_Backup_Engine::__construct PHP Method

__construct() public method

Set the default backup filename.
public __construct ( )
    public function __construct()
    {
        parent::__construct();
        $this->set_backup_filename(implode('-', array(str_ireplace(array('http://', 'https://', 'www'), '', home_url()), 'backup', current_time('Y-m-d-H-i-s'))) . '.zip');
        $this->excludes = new Excludes();
    }

Usage Example

 public function __construct()
 {
     parent::__construct();
 }