- Since: 3.0
- Description: Hook allows to add extra preferences that are ordered on the Semantic MediaWiki user preference tab.
- Reference class:
GetPreferences.php
Signature
use Hooks;
Hooks::register( 'SMW::GetPreferences', function( User $user, &$preferences ) {
return true;
} );