apply_filters( 'tec_common_timed_option_default_value', mixed $default , string $key , bool $force )
Allows the filtering the default timed_option value.
Contents
Parameters
- $default
-
(mixed) Default value when the option is either expired or not-set.
- $key
-
(string) Key for the option we are trying to get.
- $force
-
(bool) If we should expire cache and fetch from the database.
Source
Changelog
Version | Description |
---|---|
5.0.6 | Introduced. |