Manual:Hooks/XMPGetInfo
From MediaWiki.org
| XMPGetInfo | |
|---|---|
| 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: |
$wgHooks['XMPGetInfo'][] = 'MyExtensionHooks::onXMPGetInfo'; |
| Called from: | XMPInfo.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:XMPGetInfo extensions.
[edit] Details
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.