Extension:WikiSEO/Hooks/WikiSEOPreAddPageProps

WikiSEOPreAddPageProps
Available from version 2.6.3 (Gerrit change 656107)
Allows for adjusting or replacing metadata that is saved to the page props.
Define function:
public static function onWikiSEOPreAddPageProps( array &$metadata ) { ... }
Attach hook:
$wgHooks['WikiSEOPreAddPageProps'][] = 'MyExtensionHooks::onWikiSEOPreAddPageProps';
Called from:File(s): WikiSEO / includes/WikiSEO.php
Function(s): saveMetadataToProps

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

Parameters

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