BSF_Envato_Activate::create_token( int $product_id )

Create Token.


Description


Parameters

$product_id

(int) (Required) Product ID.


Return

($token.)


Source

File: admin/bsf-core/class-bsf-envato-activate.php

	protected function create_token( $product_id ) {
		$token = $product_id . '|' . current_time( 'timestamp' ) . '|' . bsf_generate_rand_token();
		update_site_option( "bsf_envato_token_$product_id", $token );

		return $token;
	}


User Contributed Notes

You must log in before being able to contribute a note or feedback.