Manual:Hooks/SpecialListusersFormatRow

From MediaWiki.org

Jump to: navigation, search
SpecialListusersFormatRow
Available from version 1.13.0
called right before the end of UsersPager::formatRow()

*Define function:
function fnMyHook( &$item, $row ) { ... }

*Attach hook:
$wgHooks['SpecialListusersFormatRow'][] = 'fnMyHook';
Called from: SpecialListusers.php

*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:SpecialListusersFormatRow extensions.


[edit] Details

  • &$item: HTML to be returned. Will be wrapped in <li></li> after the hook finishes
  • $row: Database row object