WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

PublishAfterTimeRuleProcessor::process() public WC 1.0

Process the rule.

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

No Hooks.

Return

true|false. Whether the rule passes or not.

Usage

$PublishAfterTimeRuleProcessor = new PublishAfterTimeRuleProcessor();
$PublishAfterTimeRuleProcessor->process( $rule, $stored_state );
$rule(object) (required)
The specific rule being processed by this rule processor.
$stored_state(object) (required)
Stored state.

Code of PublishAfterTimeRuleProcessor::process() WC 5.3.0

<?php
public function process( $rule, $stored_state ) {
	return $this->date_time_provider->get_now() >= new \DateTime( $rule->publish_after );
}