This snippet removes category checkbox list from quick edit in WordPress. Third param $view can be added if you want to remove the view for a specific post type only.
Continue ReadingHow to quickly unhook WooCommerce template parts
It’s possible to use wc_get_template filter to quickly remove unwanted template parts from WooCommerce templates. This is a single filter that works for all template parts, so you don’t need to look for exact ‘remove_filter’ …
Continue ReadingFilter products from WooCommerce product search input
I had an issue that sometimes users are selecting wrong variation on order screen when manually adding orders in WooCommerce. When searching for products, search filter is returning variable product and all of his variations. …
Continue ReadingHow to debug wp_mail function
wp_mail function returns ‘1’ if mail is sent, and 0 if mail is not sent but shows no debug info. Following function will display array of errors, if any.
Continue Reading