Hi,
I am working on an add-on and would like to clear out a cache directory if a setting changes.
I have seen that you can run a validation callback, is it possible to use this to determine if the value has changed?
i.e. I don't want to clear the cache directory everytime someone presses save in the ACP settings, only if this specific settings value has changed.
I am working on an add-on and would like to clear out a cache directory if a setting changes.
I have seen that you can run a validation callback, is it possible to use this to determine if the value has changed?
i.e. I don't want to clear the cache directory everytime someone presses save in the ACP settings, only if this specific settings value has changed.