plugins – How to use the filter to disable the addition of a product to the wish list?

I'm using a plugin on my website that made the following filter available:

Added filter 'tinvwl_allow_addtowishlist_single_product' which helps to
show / hide the "Add to Wish List" button for specific products on a
unique product page

The filter is set up here:

if (empty ($ this-> product) ||! apply_filters (& # 39; tinvwl_allow_addtowishlist_single_product & # 39 ;, true, $ this-> product)) {
return;
}

I would now like to add this filter to a single product page disable the "add to wish list" feature in some cases but