acf_cache_key()
acf_cache_key
Returns a filtered cache key.
Hooks from the function
Returns
String.
Usage
acf_cache_key( $key );
- $key(string)
- The cache key.
Default:''
Changelog
| Since 5.7.11 | Introduced. |
acf_cache_key() acf cache key code ACF 6.0.4
function acf_cache_key( $key = '' ) {
/**
* Filters the cache key.
*
* @date 25/1/19
* @since 5.7.11
*
* @param string $key The cache key.
* @param string $original_key The original cache key.
*/
return apply_filters( 'acf/get_cache_key', $key, $key );
}