is_random_header_image


is_random_header_image ( $type = 'any' )

Parameters:
  • (string) type The random pool to use. Possible values include 'any', 'default', 'uploaded'. Default 'any'.
Returns:
  • (bool)
Defined at:

Description

Checks if random header image is in use.Always true if user expressly chooses the option in Appearance > Header. Also true if theme has multiple header images registered, no specific header image is chosen, and theme turns on random headers with add_theme_support().

Related Functions

get_random_header_image, has_header_image, _get_random_header_data, header_image, get_header_image

Top Google Results

User discussions

wpseek mobile