Hooks reference: outputhtml_clean_title_html
This hook allows you to modify content's HTML output for <title>, before caching in OutputCaching.
Note: Only HTML will be sent to this hook, even if content includes PHP code.
Tip: This hook is run before caching; once content is in cache, the hook is not run anymore. Use it for time-consuming operations.
Args details
-
$sHtmlOnly (String) : Content's HTML output for <title>.
Warning: This arg must be returned by the hook
Example
- function vhook_outputhtml_clean_title_html($sHtmlOnly) {
- //your code here...
- return $sHtmlOnly; }
- en
Last edited on 04/05/2009 14:26:59