imagify_backup_overwrite_backup
imagify_backup_overwrite_backup
Appears in: wp-stateless.2.3.2, wp-stateless.3.0, wp-stateless.3.0.1, wp-stateless.3.0.2, wp-stateless.3.0.3, wp-stateless.3.0.4, wp-stateless.3.1.0, wp-stateless.3.1.1, wp-stateless.3.2.2, wp-stateless.3.2.4, wp-stateless.3.2.5, wp-stateless.3.3.0, wp-stateless.3.4.0, wp-stateless.3.4.1, wp-stateless.4.0.3, wp-stateless.4.0.4, wp-stateless.4.1.1, wp-stateless.4.1.2
Hook Type: filter
Displaying hooks found in version: wp-stateless.4.1.2apply_filters('imagify_backup_overwrite_backup') is found 1 times:
- /lib/classes/compatibility/imagify.php line 196
$file_path = get_attached_file($id); $backup_path = get_imagify_attachment_backup_path($file_path); if (file_exists($backup_path)) { $overwrite = apply_filters('imagify_backup_overwrite_backup', false, $file_path, $backup_path); // wp_stateless_file_name filter will remove the basedir from the path and prepend with root dir. $name = apply_filters('wp_stateless_file_name', $backup_path); do_action('sm:sync::syncFile', $name, $backup_path, $overwrite); } } }