wp_get_plugin_action_button


wp_get_plugin_action_button ( $name, $data, $compatible_php, $compatible_wp )

Parameters:
  • (string) name Plugin name.
  • (array|object) data { An array or object of plugin data. Can be retrieved from the API. @type string $slug The plugin slug. @type string[] $requires_plugins An array of plugin dependency slugs. @type string $version The plugin's version string. Used when getting the install status. }
  • (bool) compatible_php The result of a PHP compatibility check.
  • (bool) compatible_wp The result of a WP compatibility check.
Returns:
  • (string) The markup for the dependency row button. An empty string if the user does not have capabilities.
Defined at:

Description

Gets the markup for the plugin install action button.

Related Functions

wp_get_plugin_error, get_submit_button, wp_direct_php_update_button, get_plugin_data, wp_get_loading_optimization_attributes

Top Google Results

User discussions

wpseek mobile