src/AcfExportManager.php
public function deleteExport(array $fieldgroup) : bool
    {
        $filename = $this->getExportFilename($fieldgroup);

        $this->maybeUnlink($this->exportFolder . 'php/' . $filename['php']);
        $this->maybeUnlink($this->exportFolder . 'json/' . $filename['json']);

        return true;
    }
public function deleteExport(array $fieldgroup) : bool
    {
        $filename = $this->getExportFilename($fieldgroup);

        $this->maybeUnlink($this->exportFolder . 'php/' . $filename['php']);
        $this->maybeUnlink($this->exportFolder . 'json/' . $filename['json']);

        return true;
    }
public function deleteExport ( array $ fieldgroup ) : bool { $ filename = $ this -> getExportFilename ( $ fieldgroup ) ; $ this -> maybeUnlink ( $ this -> exportFolder . 'php/' . $ filename [ 'php' ] ) ; $ this -> maybeUnlink ( $ this -> exportFolder . 'json/' . $ filename [ 'json' ] ) ; return true ; }
Deletes export file for deleted fieldgroup
@param  array $fieldgroup
@return boolean
Deletes export file for deleted fieldgroup