wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_random_header_image › WordPress Function

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

Gets 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;
}