'product',
'post_status' => 'any',
'fields' => 'ids',
'offset' => $offset,
'posts_per_page' => $posts_per_page,
// uncomment and update the lines below to select specific taxonomy terms to update
// 'tax_query' => array(
// array(
// 'taxonomy' => 'product_cat',
// 'field' => 'term_id',
// 'terms' => array_merge( array( 849, 850, 851 ) ),
// ),
// ),
) );
if ( ! empty( $products ) ) {
foreach ( $products as $product_id ) {
$integration = facebook_for_woocommerce()->get_integration();
$integration->reset_single_product( $product_id );
}
}
// increment offset
$offset += $posts_per_page;
// and keep track of how far we made it in case we hit a script timeout
update_option( 'sv_wc_facebook_reset_all_products_offset', $offset );
} while ( count( $products ) == $posts_per_page ); // while full set of results returned (meaning there may be more results still to retrieve)
if ( count( $products ) !== $posts_per_page ) {
update_option( 'sv_wc_facebook_reset_all_products', 1 );
}
}
add_action( 'init', 'sv_wc_facebook_reset_all_products' );
View cart “Dabo GOLD MY JIN Korea Red Ginseng Aqua Wrinkle & Whitening Cream” has been added to your cart.
Give your skin the hydration it needs with Emart’s collection of Face Creams & Moisturizers. Our carefully curated assortment includes a range of face creams, lotions, and serums that cater to different skin types and concerns, such as dryness, sensitivity, and anti-aging. Choose from a variety of top-quality brands that prioritize nourishing, natural ingredients and cruelty-free practices. Our Face Creams & Moisturizers collection will leave your skin feeling smooth, supple, and radiant. Shop our selection today and give your skin the hydration it deserves.