applyFilters( "storage_method", method, key );
Filter the storage method for local-data.
Params
method
- The storage method to use to store the specified variable. Supported methods are
auto
,local
,cookie
andnone
. key
- The field-key (variable name) that is stored or read from the storage.
Returns
One of the following string values:
auto
.. Use localStorage, if available. Otherwise, fall back to cookies.local
.. Use localStorage.cookie
.. Use Cookies.none
.. Do not store the value.
Notes
No notes