Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the question-answer domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u845912282/domains/pickplugins.com/public_html/wp-includes/functions.php on line 6121
Shortcode - wishlist_button

Shortcode – wishlist_button

[wishlist_button id="1234"]

Or

<?php
// Under loop
$post_id = get_the_ID();
echo do_shortcode( "[wishlist_button id=$post_id]" );

?>

This shortcode use for displaying wishlist add button, under loop you can dynamic post id. by default WooCommerce shop page will display automatically.

Shortcode - wishlist_button 1

Parameters:

  • id: integer or url
  • obj_type: post, term, author, url
  • show_count: yes , no
  • show_menu: yes , no
  • icon_active: string(html) – Font awesome icons html
  • icon_inactive: string(html) – Font awesome icons html
  • icon_loading: string(html) – Font awesome icons html

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/u845912282/domains/pickplugins.com/public_html/wp-content/plugins/post-grid/includes/functions-builder.php on line 10