function hook_esi_block_url_alter in ESI: Edge Side Includes 7.3
Alter the URL used in an ESI include tag.
Parameters
String $url: The URL used in the ESI include tag.
1 invocation of hook_esi_block_url_alter()
- esi_block_url in modules/
esi_block/ esi_block.module - Build the URL to use for this ESI component. The URL must contain all the relevant information required to restore the original context of this block.
File
- modules/
esi_block/ esi_block.api.inc, line 13 - API documentation for hooks defined by ESI Block.
Code
function hook_esi_block_url_alter(&$url) {
// Add the timestamp to the URL.
$url .= '/' . time();
}