Useful hooks
How to Enable This Filter
Disabling synchronization for selected products
add_filter('ei_disable_sync_product_ids', 'my_ei_disable_sync_product_ids');
function my_ei_disable_sync_product_ids() {
return array(111, 222, 333, 444);
}Enabling synchronization only for selected products
/**
* Only sync products 101, 202 and 303.
*
* @param int[] $ids Current list of IDs to sync (empty by default).
* @return int[] Filtered list of IDs to sync.
*/
add_filter( 'ei_enable_sync_product_ids', function( $ids ) {
// Override any existing list—only these three will be synced.
return array( 101, 202, 303 );
} );
Allowing HTML and images in product descriptions
Import domain as brand taxonomy
Custom parameters for scraping services
Last updated