WoW:API GetAddOnMetadata: Difference between revisions
Jump to navigation
Jump to search
(Did a best-guess type page from the 1.11 patchnotes) |
m (Move page script moved page API GetAddOnMetadata to API GetAddOnMetadata without leaving a redirect) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | {{wowapi}} __NOTOC__ | ||
Returns addon metadata. | Returns addon metadata. | ||
value = GetAddOnMetadata("addon", "field") | |||
== Arguments == | |||
;addon : String - Addon name to look up metadata for | |||
;field : String - Field name. May be Title, Notes, Author, Version, or anything starting with X- | |||
== | == Returns == | ||
;value : String - The value of the field, nil if not defined. | |||
: | |||
== | == Related Topics == | ||
[[The TOC Format|The TOC Format]] | |||
Latest revision as of 04:45, 15 August 2023
Returns addon metadata.
value = GetAddOnMetadata("addon", "field")
Arguments
- addon
- String - Addon name to look up metadata for
- field
- String - Field name. May be Title, Notes, Author, Version, or anything starting with X-
Returns
- value
- String - The value of the field, nil if not defined.