Extension:WikiSEO/Hooks/WikiSEOPreAddMetadata

WikiSEOPreAddMetadata
Available from version 2.6.3 (Gerrit change 656107)
Allows for adjusting or replacing metadata that is set by the Generators.
Define function:
public static function onWikiSEOPreAddMetadata( array &$metadata ) { ... }
Attach hook:
$wgHooks['WikiSEOPreAddMetadata'][] = 'MyExtensionHooks::onWikiSEOPreAddMetadata';
Called from:File(s): WikiSEO / includes/WikiSEO.php
Function(s): addMetadataToPage

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

Parameters

edit
&$metadata
An array of key-value pairs validated through Validator::validateParams