_get_plugin_data_markup_translate


_get_plugin_data_markup_translate ( $plugin_file, $plugin_data, $markup = true, $translate = true )

Access:
  • private
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.
Defined at:

Description

Sanitizes plugin data, optionally adds markup, optionally translates.

Related Functions

_get_path_to_translation, get_plugin_data, _get_plugin_from_callback, get_plugin_updates, wp_get_installed_translations

Top Google Results

User discussions

wpseek mobile