is_random_header_image


is_random_header_image ( $type = 'any' )

Parameters:
  • (string) $type The random pool to use. any|default|uploaded
Returns:
  • (bool)
Defined at:

Description

Check 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, header_image, _get_random_header_data, get_header_image

Top Google Results

User discussions

wpseek mobile