WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

GoogleAdsAndMarketing::is_google_ads_and_marketing_installed() protected WC 1.0

Determine if Google Ads and Marketing is already active or installed

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

No Hooks.

Return

true|false. Nothing.

Usage

$result = GoogleAdsAndMarketing::is_google_ads_and_marketing_installed();

Code of GoogleAdsAndMarketing::is_google_ads_and_marketing_installed() WC 5.2.2

<?php
protected static function is_google_ads_and_marketing_installed() {
	if ( function_exists( 'kk_wc_plugin' ) ) {
		return true;
	}
	return PluginsHelper::is_plugin_installed( self::PLUGIN_FILE );
}