HM\BackUpWordPress\Backup_Status::get_backup_filename PHP Method

get_backup_filename() public method

Get the filename of the backup.
public get_backup_filename ( ) : string | null
return string | null The backup filename.
    public function get_backup_filename()
    {
        if ($this->is_started()) {
            $status = json_decode(file_get_contents($this->get_status_filepath()));
            if (!empty($status->filename)) {
                $this->filename = $status->filename;
            }
        }
        return $this->filename;
    }