WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Marketing

InstalledExtensions::get_mailchimp_extension_data() protected WC 1.0

Get MailChimp extension data.

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

No Hooks.

Return

Array|true|false. Nothing.

Usage

$result = InstalledExtensions::get_mailchimp_extension_data();

Code of InstalledExtensions::get_mailchimp_extension_data() WC 5.3.0

<?php
protected static function get_mailchimp_extension_data() {
	$slug = 'mailchimp-for-woocommerce';

	if ( ! PluginsHelper::is_plugin_installed( $slug ) ) {
		return false;
	}

	$data         = self::get_extension_base_data( $slug );
	$data['icon'] = plugins_url( 'images/marketing/mailchimp.svg', WC_ADMIN_PLUGIN_FILE );

	if ( 'activated' === $data['status'] && function_exists( 'mailchimp_is_configured' ) ) {
		$data['docsUrl']     = 'https://mailchimp.com/help/connect-or-disconnect-mailchimp-for-woocommerce/';
		$data['settingsUrl'] = admin_url( 'admin.php?page=mailchimp-woocommerce' );

		if ( mailchimp_is_configured() ) {
			$data['status'] = 'configured';
		}
	}

	return $data;
}