Wednesday, February 1, 2023
HomeWordPress Developmentfilters - Do Not Again Up? Is there any accepted solution to...

filters – Do Not Again Up? Is there any accepted solution to inform backup and clone plugins to skip a sure file?


I am creating a plugin that creates a brief file containing ephemeral information. By default the file goes in wp-content/ however there is a config variable that lets web site operators put it wherever they need.

(This can be a cache plugin, and the file is the cache file.)

It is pointless to again up this file, and we undoubtedly do not need to save and restore it when cloning or migrating a web site.

Is there a generally accepted filter my plugin can hook to inform these plugins to skip this file? Or is there one other method to do that that works for a minimum of among the backup / restore plugins on the market within the wild?

I do know Again WP Up skips directories containing a .donotbackup file. Is that this a common factor?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments