Categories
Woocommerce

How to add text before or after price in WooCommerce

You can use the WooCommerce filter woocommerce_get_price_html and woocommerce_cart_item_price to add a string before or after the price in WooCommerce product and cart pages. Here is the code that you can copy and paste in your active theme’s functions.php file: You can use the above simple code snippet in your active theme, or use the

Categories
Functions

Remove meta generator tags by WordPress and other plugins

Meta generator tag in WordPress reveals the plugin or WordPress core version which makes WordPress vulnerable. So, here i list snippets to disable meta tag generator by various plugins. Remove WordPress & Woocommerce meta tag generator This code will disable meta tag generated by WordPress, Woocommerce and many other standard plugins that hook up with