Manual:Hooks/ParserClearState
From MediaWiki.org
| ParserClearState | |
|---|---|
| Available from version 1.6.0 called at the end of Parser::clearState() |
|
*Define function: |
function fnMyHook( &$parser ) { ... }
|
*Attach hook: |
$wgHooks['ParserClearState'][] = 'fnMyHook'; |
| Called from: | Parser.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:ParserClearState extensions.
[edit] Details
$parser: Parser object being cleared