WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Marketing

InstalledExtensions::get_extension_base_data() protected WC 1.0

Get an array of basic data for a given extension.

{} It's a method of the class: InstalledExtensions{}

No Hooks.

Return

Array|false. Nothing.

Usage

$result = InstalledExtensions::get_extension_base_data( $slug );
$slug(string) (required)
Plugin slug.

Code of InstalledExtensions::get_extension_base_data() WC 5.3.0

<?php
protected static function get_extension_base_data( $slug ) {
	$status      = PluginsHelper::is_plugin_active( $slug ) ? 'activated' : 'installed';
	$plugin_data = PluginsHelper::get_plugin_data( $slug );

	if ( ! $plugin_data ) {
		return false;
	}

	return [
		'slug'        => $slug,
		'status'      => $status,
		'name'        => $plugin_data['Name'],
		'description' => html_entity_decode( wp_trim_words( $plugin_data['Description'], 20 ) ),
		'supportUrl'  => 'https://woocommerce.com/my-account/create-a-ticket/',
	];
}