Last active
December 26, 2015 19:49
-
-
Save leewillis77/7203840 to your computer and use it in GitHub Desktop.
Process feed in smaller chunks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function gpf_filter_chunk_size($size) { | |
return 5; | |
} | |
add_filter('woocommerce_gpf_chunk_size', 'gpf_filter_chunk_size',10, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment