118 | | * @see get_plugin_data() |
| 118 | * |
| 119 | * @param string $plugin_file Path to the main plugin file. |
| 120 | * @param array $plugin_data An array of plugin data. See `get_plugin_data()`. |
| 121 | * @param bool $markup Optional. If the returned data should have HTML markup applied. |
| 122 | * Default true. |
| 123 | * @param bool $translate Optional. If the returned data should be translated. Default true. |
| 124 | * |
| 125 | * @see get_plugin_data() |
| 126 | * |
| 127 | * @return array { |
| 128 | * Plugin data. Values will be empty if not supplied by the plugin. |
| 129 | * |
| 130 | * @type string $Name Name of the plugin. Should be unique. |
| 131 | * @type string $Title Title of the plugin and link to the plugin's site (if set). |
| 132 | * @type string $Description Plugin description. |
| 133 | * @type string $Author Author's name. |
| 134 | * @type string $AuthorURI Author's website address (if set). |
| 135 | * @type string $Version Plugin version. |
| 136 | * @type string $TextDomain Plugin textdomain. |
| 137 | * @type string $DomainPath Plugins relative directory path to .mo files. |
| 138 | * @type bool $Network Whether the plugin can only be activated network-wide. |
| 139 | * } |