Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

toolbar

// Register Default Headers
function custom_default_headers() {

	$headers = array(
		'my menu' => array(
			'description'   => __( 'this is a test !', 'text_domain' ),
			'url'           => 'https://generatewp.com/wp-content/uploads/toolbar.png',
			'thumbnail_url' => 'https://generatewp.com/wp-content/uploads/toolbar.png',
		),
		'headre two' => array(
			'description'   => __( 'this is a test 2 !', 'text_domain' ),
			'url'           => 'https://generatewp.com/wp-content/uploads/toolbar.png',
			'thumbnail_url' => '',
		),
	);
	register_default_headers( $headers );

}
add_action( 'after_setup_theme', 'custom_default_headers' );