get_random_header_image()
Get random header image url from registered images in theme.
Description Description
Return Return
(string) Path to header image
Source Source
File: wp-includes/theme.php
function get_random_header_image() { $random_image = _get_random_header_data(); if ( empty( $random_image->url ) ) { return ''; } return $random_image->url; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |