Docs

WP_Background_Process::generate_key( int $length = 64 ): string

Generate key

Description

Generates a unique key based on microtime. Queue items are given a unique key so that they can be merged upon save.

Parameters

$lengthintoptional
Length.

Default:64

Return

string