This function had been marked as deprecated since 3.4.0. Use add_theme_support('custom-header', $args)

Add callbacks for image header display.

Signature

add_custom_image_header( $wp_head_callback, $admin_head_callback, $admin_preview_callback = '' )
wp_head_callback
 (callback) Call on 'wp_head' action.
admin_head_callback
 (callback) Call on custom header administration screen.
admin_preview_callback
 (callback) Output a custom header image div on the custom header administration screen. Optional.
Default: ''

Return

(void)

Source

function add_custom_image_header( $wp_head_callback, $admin_head_callback, $admin_preview_callback = '' ) {
	_deprecated_function( __FUNCTION__, '3.4', 'add_theme_support( \'custom-header\', $args )' );
	$args = array(
		'wp-head-callback'    => $wp_head_callback,
		'admin-head-callback' => $admin_head_callback,
	);
	if ( $admin_preview_callback )
		$args['admin-preview-callback'] = $admin_preview_callback;
	return add_theme_support( 'custom-header', $args );
}
WP Trac GitHub

Link here