Available from version 1.18.0 (r86169)
Called when obtaining the list of XMP tags to extract.
Define function:
public static function onXMPGetInfo( &$items ) { ... }
Attach hook: In extension.json:
	"Hooks": {
		"XMPGetInfo": "MyExtensionHooks::onXMPGetInfo"
Called from: File(s): XMPInfo.php
Interface: XMPGetInfoHook.php

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


Can be used to add additional tags to extract.

  • &$items: Array containing information on which items to extract. See XMPInfo for details on the format.