Skip to content

Instantly share code, notes, and snippets.

View heymicoo's full-sized avatar

Michael Bryan Reyes heymicoo

View GitHub Profile
@heymicoo
heymicoo / tabs-seg.php
Created April 3, 2023 01:11
Segregate product tabs data from the description caused by the migration of products from Shopify to WooCommerce
<?php
add_action('init', function() {
// add '?tabs_seg' to home URL to execute
if ( ! isset( $_GET['tabs_seg'] ) ) {
return;
}
// process 50 products per reload