generated from alleyinteractive/create-wordpress-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add default cache time constants and getter methods in WP 404 cache c…
…lass Added DEFAULT_CACHE_TIME and DEFAULT_STALE_CACHE_TIME constants to class-full-page-cache-404.php. Also introduced respective getter methods for each one of them: get_cache_time() and get_stale_cache_time(). Consequently updated the calls in set_cache() method to use these getters.
- Loading branch information
Showing
1 changed file
with
34 additions
and
2 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