WordPress at Your Fingertips
function is not described

ActionScheduler_wpPostStore::generate_claim_id() protected WC 1.0

Generate claim id.

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

No Hooks.

Return

String.

Usage

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

Code of ActionScheduler_wpPostStore::generate_claim_id() WC 6.1.1

protected function generate_claim_id() {
	$claim_id = md5( microtime( true ) . wp_rand( 0, 1000 ) );
	return substr( $claim_id, 0, 20 ); // to fit in db field with 20 char limit.
}