Whether to use lookup tables - it can optimize performance, but correctness depends on the frequency of the AS job.
false, $customer_email, $user_id, $product_id
Sortie :
@param bool $enabled @param string $customer_email Customer email to check. @param int $user_id User ID to check. @param int $product_id Product ID to check. @return bool
// Modifier la valeur avec le filtre 'woocommerce_customer_bought_product_use_lookup_tables'
add_filter('woocommerce_customer_bought_product_use_lookup_tables', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(false) {
// Modifier la valeur
return false;
}
Chargement des actualités...