Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/ 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.


Sanitizes plugin data, optionally adds markup, optionally translates.


(string) (required) The plugin's file.
Default: None
(array) (required) The plugin data parsed from the plugin's File Header.
Default: None
(boolean) (optional) Whether to add markup.
Default: false
(boolean) (optional) Whether to translate.
Default: false

Return Values

Sanitized plugin data.


See also index of Function Reference and index of Template Tags.