wishlist_single_before_loop

Add this code to the Theme’s function.php file to add some custom HTML before the item loop in your single wishlist page.

add_action('wishlist_single_before_loop', 'wishlist_single_before_loop_20201908', 0);

function wishlist_single_before_loop_20201908($wishlist_id){
    
    //echo '<pre>'.var_export($wishlist_id, true).'</pre>';

    ?>
    <span>Custom HTML here</span>
    <?php
}
wishlist_single_before_loop 1