PluginProbe ʕ •ᴥ•ʔ
Backup Migration / 2.1.7
Backup Migration v2.1.7
2.1.7 2.1.6 2.1.5.2 trunk 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.6.1 1.4.7 1.4.8 1.4.9 1.4.9.1 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.5.1
backup-backup / includes / external / contracts / interface-delete-backup.php
backup-backup / includes / external / contracts Last commit date
interface-delete-backup.php 3 weeks ago interface-get-available-space.php 3 weeks ago
interface-delete-backup.php
18 lines
1 <?php
2
3 namespace BMI\Plugin\External\Contracts;
4
5 // Exit on direct access
6 if (!defined('ABSPATH')) exit;
7
8 interface DeleteBackup {
9 /**
10 * Delete a backup from the external storage.
11 *
12 * @param string $hash The hash of the backup file to delete.
13 * @return bool True if the deletion request was successfully processed; false otherwise.
14 * Note: The return value is not a reliable indicator of whether the target was actually deleted,
15 * as some deletion methods may report failure even when the deletion completes successfully.
16 * */
17 public function deleteBackup($hash);
18 }