redirection_cache_key

redirection_cache_key

Hook Type: filter

See hook in core

Displaying hooks found in version: redirection.5.5.2

apply_filters('redirection_cache_key') is found 1 times:

  • /models/redirect/redirect-cache.php line 93
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    * @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.