In this short article, I am going to explain the way to use third party libraries in Codeigniter 3. As it is well know Codeigniter is a very flexible MVC. In Codeigniter, there is a folder called third_party in application folder. It is recommended to keep all your third party libraries in the third_party folder. […]
Search product by multiple SKU in wordpress admin
This small plugin provide the functionality to add a button to upload CSV and then search the products by sku which are in first column of csv. Create a folder by name ‘multiple-sku-search’ under plugins directory of wordpress site. In this folder create a file ‘multiple-sku-search.php’ and copy-paste the above code in this file. Now […]
Show featured products on top on woocommerce shop page
Add this code to active theme functions.php, it will work with woocommerce 3.
Delete all attribute name in woocommerce
To delete all attribute names in woocommerce
Add table of content based on H2 tag
Add table of content based on H2 tag in html content.
Display all hooks functions added to hook
Sometime it is required to list all the functions added to a hook in WordPress, Below in the given code, add this code to functions.php of theme and hit the site on front-end it will display all the added functions add to that hook with the priority of hooked function.
Delete All Woocommerce Products
Sometime It needs to delete all the products of Woocommerce below is the list of query which can be executed directly to MySQL to delete all Woocommerce data in database. Basically such kind of query is required to delete all Woocommerce products which are imported/created in development process. Note: Please take a backup of your […]