Snippets

Visser Labs Switching between ftp_put and ftp_fput FTP upload methods in Store Exporter Deluxe

Updated by Michael Visser

File functions.php Modified

  • Ignore whitespace
  • Hide word diff
 <?php
 function custom_woo_ce_cron_export_ftp_switch() {
 
+	// ftp_put or ftp_fput
 	return 'ftp_fput';
 
 }
Updated by Michael Visser

File functions.php Modified

  • Ignore whitespace
  • Hide word diff
 <?php
 function custom_woo_ce_cron_export_ftp_switch() {
-return 'ftp_fput';
+
+	return 'ftp_fput';
+
 }
 add_filter( 'woo_ce_cron_export_ftp_switch', 'custom_woo_ce_cron_export_ftp_switch' );
 ?>
Created by Michael Visser

File functions.php Added

  • Ignore whitespace
  • Hide word diff
+<?php
+function custom_woo_ce_cron_export_ftp_switch() {
+return 'ftp_fput';
+}
+add_filter( 'woo_ce_cron_export_ftp_switch', 'custom_woo_ce_cron_export_ftp_switch' );
+?>