apply_filters( 'tec_common_timed_option_default_value', mixed $default, string $key, bool $force )

Allows the filtering the default timed_option value.


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.


Top ↑

Source

File: src/Common/Storage/Timed_Option.php


Top ↑

Changelog

Changelog
Version Description
5.0.6 Introduced.