redirection_cache_key

redirection_cache_key

Hook Type: filter

See hook in core

Displaying hooks found in version: redirection.5.4.2

apply_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.