WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

Events::is_remote_inbox_notifications_enabled() protected WC 1.0

Checks if remote inbox notifications are enabled.

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

No Hooks.

Return

true|false. Whether remote inbox notifications are enabled.

Usage

// protected - for code of main (parent) or child class
$result = $this->is_remote_inbox_notifications_enabled();

Code of Events::is_remote_inbox_notifications_enabled() WC 5.3.0

<?php
protected function is_remote_inbox_notifications_enabled() {
	// Check if the feature flag is disabled.
	if ( ! Features::is_enabled( 'remote-inbox-notifications' ) ) {
		return false;
	}

	// Check if the site has opted out of marketplace suggestions.
	if ( 'yes' !== get_option( 'woocommerce_show_marketplace_suggestions', 'yes' ) ) {
		return false;
	}

	// All checks have passed.
	return true;
}