wishlist_archive_before_loop

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

add_action('wishlist_archive_before_loop', 'wishlist_archive_before_loop_20201908', 5, 2);

function wishlist_archive_before_loop_20201908($args, $wishlist_query){

    //echo '<pre>'.var_export($args, true).'</pre>';

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