-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add method to update lists from JSON files and clear cache
* **DynamicLists.php** - Add `update_lists_from_files` method to clear transient cache and update lists from JSON files - Call `remove_lists_cache` and `get_lists` methods from each provider's data manager in `update_lists_from_files` * **AbstractDataManager.php** - Add `remove_lists_cache` method to delete transient cache * **Subscriber.php** - Modify `wp_rocket_upgrade` callback to call `update_lists_from_files` method - Add `update_lists_from_files` method to call `$this->dynamic_lists->update_lists_from_files()`
- Loading branch information
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters