简体   繁体   中英

avoid wordpress plugin file caching during development

I noticed that changes made strictly to plugin file does not instantly available after plugin page refreshing in /wp-admin/ and thus I suspect the object caching is taking place, as the blog itself does not have any caching plugin installed.

is there any way to disable caching for my plugin during development process ?

tried:

wp_cache_flush();

Try in your url after your website this "/?ngg_force_update=1" so your url becomes something like:

http://www.yourdomain.com/?ngg_force_update=1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM