wishlist_button

Add this code to the Theme’s function.php file to add some custom HTML in your wishlist button.

add_action('wishlist_button', 'wishlist_button_20201908', 5);

function wishlist_button_20201908($atts){

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

    ?>
    <span>Hello</span>
    <?php
}
wishlist_button 1