5168 shaares
38 private links
38 private links
WordPress read the templates from file headers, and then set them in the cache. using wp_cache_set() nad a key that is derived from the md5 has of stylesheet folder.
So, just overriding that cache we can show the templates we want. To override that cache we need to call wp_cache_set() again using same key.