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 | |
add_action('init', function() { | |
// add '?tabs_seg' to home URL to execute | |
if ( ! isset( $_GET['tabs_seg'] ) ) { | |
return; | |
} | |
// process 50 products per reload |