_get_plugin_data_markup_translate
- %1$s is private and should not be used in themes or plugins directly.
_get_plugin_data_markup_translate ( $plugin_file, $plugin_data, $markup = true, $translate = true )
Access:Parameters:- (string) plugin_file Path to the main plugin file.
- (array) plugin_data An array of plugin data. See get_plugin_data().
- (bool) markup Optional. If the returned data should have HTML markup applied. Default true.
- (bool) translate Optional. If the returned data should be translated. Default true.
See:Returns:- (array) Plugin data. Values will be empty if not supplied by the plugin. See get_plugin_data() for the list of possible values.
Defined at: - Introduced in WordPress: 2.7.0
- Deprecated in WordPress: —
Description
Sanitizes plugin data, optionally adds markup, optionally translates.