smarty Clear cache For Smarty version 2 For Smarty version 3 Since Smarty version 3.1.14 it is possible to delete cache files by their individual expiration time at creation by passing constant SMARTY::CLEAR_EXPIRED as expire_time parameter.
Use following code for 404 redirect in .net website Add below code in your web.config file
output: The list is a,b,c,d,e and f.
This code can help you to make woocommerce supportable theme, or upgrade your existing theme with theme code your theme will be fully woocommerce supportable (1) Add following code in functions.php file (2)Create a folder “woocommerce” in your theme (3)Copy template file from “wp-content\plugins\woocommerce\templates” and paste into “wp-content\themes\your-theme-name\woocommerce”
users role in wordpress add/remove For role add use below function For role remove user below function