$wgHooks['BaseTemplateToolbox'][] =
'eWhateverBaseTemplateToolbox';
function efWhateverBaseTemplateToolbox ( $tpl, $toolbox ) {
if( //check whether it's your extension's page ) {
unset($toolbox['print']);
}
return true;
}
Brilliant, works like a charm! I just had to change "$toolbox" to
"&$toolbox" in the function declaration, in case anyone else needs this
in future.
Many thanks for your help!
Cheers,
Adam.