Woocommerce – Include custom user meta in order ‘filter by registered customer’ Ajax search

After getting lost with trying to understand the class-wc-ajax.php file, I completely missed a more obvious and simple solution. Here is the code I am using which works perfectly. I hope this helps others looking for similar solution. This filter-hook allows you to add an additional meta_query to the existing search parameters. This will also … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)