options->get( OptionsInterface::SITE_VERIFICATION ); return ! empty( $current_options['verified'] ) && SiteVerification::VERIFICATION_STATUS_VERIFIED === $current_options['verified']; } /** * Calculate the number of seconds to wait after creating a sub-account and * before operating on the new sub-account (MCA link and website claim). * * @return int */ public function get_seconds_to_wait_after_created(): int { $state = $this->get( false ); $created_timestamp = $state['set_id']['data']['created_timestamp'] ?? 0; $seconds_elapsed = time() - $created_timestamp; return max( 0, self::MC_DELAY_AFTER_CREATE - $seconds_elapsed ); } }