This page redirects to an external site: https://developer.wordpress.org/reference/functions/_get_plugin_data_markup_translate/
This function's access is marked as private. That means it is not intended for use by plugin and theme developers, but only in other core functions. It is listed here for completeness.
Use
any of these functions instead.
Description
Sanitizes plugin data, optionally adds markup, optionally translates.
Parameters
- $plugin_file
- (string) (required) The plugin's file.
- Default: None
- $plugin_data
- (array) (required) The plugin data parsed from the plugin's File Header.
- Default: None
- $markup
- (boolean) (optional) Whether to add markup.
- Default: false
- $translate
- (boolean) (optional) Whether to translate.
- Default: false
Return Values
- (array)
- Sanitized plugin data.
Related