Developer Documentation

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)

Usage

Was this article helpful?

Updated Apr 25, 2025