WordPress.org

Ready to get started?Download WordPress

Codex

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.

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

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