Wishlist for WooCommerce Documentation

Search for answers or browse our knowledge base.

Category - Developer Documentation

Articles

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
Wishlist Button Position in Products Loop
apply_filters( 'wpmozo_wishlist_button_position_loop', string $position ) Filters the button position in products loop Parameters $position (string) Position of the button Usage
Wishlist Button Position on Image in Products Loop
apply_filters( 'wpmozo_wishlist_button_image_position_loop', string $position ) Filters the button position on product image in products loop Parameters $position (string) Position of the button Usage
Wishlist Button Position on Product Page
apply_filters( 'wpmozo_wishlist_button_position_single', string $position ) Filters the button position on product page Parameters $position (string) Position of the button Usage
Wishlist Button Text
apply_filters( 'wpmozo_add_to_wishlist_text', string $text ) Filters the button text Parameters $text (string) Wishlist button text Usage
Wishlist Button Type for Product Page
apply_filters( 'wpmozo_wishlist_button_type_single', string $type ) Filters the button type for product page Parameters $type (string) Wishlist button type Usage
Wishlist Button Type in Products Loop
apply_filters( 'wpmozo_wishlist_button_type_loop', string $type ) Filters the button type in products loop Parameters $type (string) Wishlist button type Usage
Wishlist Button Classes
apply_filters( 'wpmozo_wishlist_button_classes', string $classes ) Filters the button class names Parameters $classes (string) Wishlist button class names Usage