WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

WCAdminActiveForProvider::get_wcadmin_active_for_in_seconds() public WC 1.0

Get the number of seconds that the store has been active.

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

No Hooks.

Return

number. Number of seconds.

Usage

$WCAdminActiveForProvider = new WCAdminActiveForProvider();
$WCAdminActiveForProvider->get_wcadmin_active_for_in_seconds();

Code of WCAdminActiveForProvider::get_wcadmin_active_for_in_seconds() WC 5.2.2

<?php
public function get_wcadmin_active_for_in_seconds() {
	$install_timestamp = get_option( 'woocommerce_admin_install_timestamp' );

	return time() - $install_timestamp;
}