WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Marketing

InstalledExtensions::get_google_extension_data() protected WC 1.0

Get Google extension data.

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

No Hooks.

Return

Array|true|false. Nothing.

Usage

$result = InstalledExtensions::get_google_extension_data();

Code of InstalledExtensions::get_google_extension_data() WC 5.3.0

<?php
protected static function get_google_extension_data() {
	$slug = 'kliken-marketing-for-google';

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

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

	if ( 'activated' === $data['status'] && function_exists( 'kk_wc_plugin' ) && class_exists( '\Kliken\WcPlugin\Helper' ) ) {

		$kliken_settings = \Kliken\WcPlugin\Helper::get_plugin_options();

		// Use same check as the Kliken Get Started Page.
		if ( \Kliken\WcPlugin\Helper::is_valid_account_id( $kliken_settings['account_id'] ) ) {
			$data['status'] = 'configured';
		}

		$data['settingsUrl'] = admin_url( 'admin.php?page=wc-settings&tab=integration&section=kk_wcintegration' );
		$data['docsUrl']     = 'https://docs.woocommerce.com/document/google-ads/';
	}

	return $data;
}