Hooks reference: outputhtml_run_head
This hook allows you to modify content's HTML output for <head> on each output request.
Warning: This hook is run on each output request (ie: each content viewing), even if content is already in cache. Use it only as last solution, and only for fast operations.
Args details
-
$sHtml (String) : Content's HTML output for <head>.
Warning: This arg must be returned by the hook
Example
- function vhook_outputhtml_run_head($sHtml) {
- //your code here...
- return $sHtml; }
- en
Last edited on 04/05/2009 14:27:14