Wishlist for WooCommerce Documentation
Search for answers or browse our knowledge base.
Add to Wishlist Button
apply_filters( 'wpmozo_wishlist_button', string $button, array $args )
Filters the button output
Parameters
$button
(string) HTML output of the button
$args
(array) Array of arguments
$product_id
(integer)
$add_to_wishlist_url
(string)
$button_classes
(string)
$wishlist_text
(string)
$button_type
(string)