functions: prepend and display the custom header widget area

so in my functions.php I have a hook according to the theme documentation by putting the content before the body. I also create a widget area, which I would like to be the content to prepend, as follows:

// create custom header widget area
function wpb_widgets_init() {

    register_sidebar( array(
        'name'          => 'Custom Header Widget Area',
        'id'            => 'custom-header-widget',
        'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); } add_action( 'widgets_init', 'wpb_widgets_init' ); // prepend and display custom header widget area add_action( 'before', 'uncode_child_hook_before' ); function uncode_child_hook_before(){ echo ; }

Something must be wrong with my syntax: I am a PHP novice. thanks in advance.