redirection_cache_key
redirection_cache_key
Appears in: redirection.5.0, redirection.5.0.1, redirection.5.1, redirection.5.1.1, redirection.5.1.2, redirection.5.1.3, redirection.5.2.3, redirection.5.3.0, redirection.5.3.10, redirection.5.3.2, redirection.5.3.3, redirection.5.3.4, redirection.5.3.5, redirection.5.3.6, redirection.5.3.9, redirection.5.4.1, redirection.5.4.2, redirection.5.5.0
Hook Type: filter
Displaying hooks found in version: redirection.5.5.0apply_filters('redirection_cache_key') is found 1 times:
- /models/redirect/redirect-cache.php line 93
* @param string $url URL we are looking at. * @return string */ private function get_key( $url ) { return apply_filters( 'redirection_cache_key', md5( $url ) . '-' . (string) $this->key . '-' . REDIRECTION_VERSION ); } /** * Get the cache entry for a URL * * @param string $url Requested URL.