my_wishlist_atts

This code is for creating a new attribute for the shortcode of my wishlist page.

add_filter('my_wishlist_atts', 'my_wishlist_atts_20201908', 5);

function my_wishlist_atts_20201908($atts){


$atts['custom_atts'] = 'Custom atts';

return $atts;
}

For example:

[my_wishlist id="1234"]