Un motore di ricerca WordPress per sviluppatori e autori di temi



get_random_header_image ›

Da3.2.0
Deprecaton/a
get_random_header_image ( Nessun parametro )
Ritorna:
  • (string) Path to header image
Definito a:
Codex:

Get random header image url from registered images in theme.



Sorgenti

function get_random_header_image() {
	$random_image = _get_random_header_data();
	if ( empty( $random_image->url ) ) {
		return '';
	}
	return $random_image->url;
}