sm:sync::copyFile

sm:sync::copyFile

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wp-stateless.4.1.1

do_action('sm:sync::copyFile') is found 1 times:

  • /lib/classes/compatibility/lite-speed-cache.php line 143
            if (!$rm_ori_bkup) {
              $extension = pathinfo($gs_name, PATHINFO_EXTENSION);
              $bk_file = substr($gs_name, 0, -strlen($extension)) . 'bk.' . $extension;
              $cloud_meta['fileMd5'][$bk_file] = $cloud_meta['fileMd5'][$gs_name];
              do_action('sm:sync::copyFile', $gs_name, $bk_file);
            }
    
            $cloud_meta['fileMd5'][$gs_name] = md5_file($local_file);
            $this->_update_md5_meta($row_img->post_id, $cloud_meta);
            do_action('sm:sync::syncFile', $gs_name, $local_file, 2);
          }
    

See this hook used in plugins: