my_wishlist_loop

Add this code to the Theme’s function.php file to add some custom HTML inside the loop items in your “my wishlist” page.

add_action('my_wishlist_loop', 'my_wishlist_loop_20201908', 5);

function my_wishlist_loop_20201908($args){

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

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