WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Marketing

InstalledExtensions::get_data() public WC 1.0

Gets an array of plugin data for the "Installed marketing extensions" card.

Valid extensions statuses are: installed, activated, configured

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

No Hooks.

Return

null. Nothing.

Usage

$result = InstalledExtensions::get_data();

Code of InstalledExtensions::get_data() WC 5.2.2

<?php
public static function get_data() {
	$data = [];

	$automatewoo = self::get_automatewoo_extension_data();
	$mailchimp   = self::get_mailchimp_extension_data();
	$facebook    = self::get_facebook_extension_data();
	$google      = self::get_google_extension_data();
	$hubspot     = self::get_hubspot_extension_data();
	$amazon_ebay = self::get_amazon_ebay_extension_data();

	if ( $automatewoo ) {
		$data[] = $automatewoo;
	}

	if ( $mailchimp ) {
		$data[] = $mailchimp;
	}

	if ( $facebook ) {
		$data[] = $facebook;
	}

	if ( $google ) {
		$data[] = $google;
	}

	if ( $hubspot ) {
		$data[] = $hubspot;
	}

	if ( $amazon_ebay ) {
		$data[] = $amazon_ebay;
	}

	return $data;
}