wp_rand


wp_rand ( $min = 0, $max = 0 )

Parameters:
  • (int) $min Lower limit for the generated number
  • (int) $max Upper limit for the generated number
Returns:
  • (int) A random number between min and max
Defined at:
Change Log:
  • 4: .

Description

Generates a random number.

Related Functions

wp_upgrade, wp_head, wp_cron, wp_iframe, wp_die

Top Google Results

User discussions

wpseek mobile