Skip to content

Commit

Permalink
📖 Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel-James committed Aug 8, 2021
1 parent e6ea301 commit 70093a4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ $ composer require duckdev/wp-cache-helper

WP Cache Remember provides the following functions for WordPress:

* [`$cache->remember()`](#$cache->remember())
* [`$cache->forget()`](#$cache->forget())
* [`$cache->persist()`](#$cache->persist())
* [`$cache->cease()`](#$cache->cease())
* [`$cache->flush_group()`](#$cache->flush_group())
* [`$cache->flush()`](#$cache->flush())
* [`$cache->remember()`](#cache-remember)
* [`$cache->forget()`](#cache-forget)
* [`$cache->persist()`](#cache-persist)
* [`$cache->cease()`](#cache-cease)
* [`$cache->flush_group()`](#cache-flush_group)
* [`$cache->flush()`](#cache-flush)

Each function checks the response of the callback for a `WP_Error` object, ensuring you're not caching temporary errors for long periods of time. PHP Exceptions will also not be cached.

Expand Down

0 comments on commit 70093a4

Please sign in to comment.