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

  1. function vhook_outputhtml_run_head($sHtml)
  2. {
  3. //your code here...
  4. return $sHtml;
  5. }
  • en
Last edited on 04/05/2009 14:27:14
Powered by Anwiki • 0.04 sec • 2.03 MB