< Manual:Hooks
| XMPGetInfo | |
|---|---|
| Available from version 1.18.0 (r86169, codereview) 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.
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.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.