acf_cache_key()ACF 5.7.11

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() 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 );
}