Do you have Shortcode for this plugin

Thread Starter
Abhishek

(@abhishekyesankar)

Never Mind I have find the solution on this thread.
In case anyone needs it :

add_shortcode( 'cus_wishlist_shortcode', 'woo_wishlist_shortcode_func' );

function woo_wishlist_shortcode_func()  {
  if ( ! is_object( $product) )  {
    $product = wc_get_product( get_the_ID() );
    $wt_wishlist = new WT_Wishlist_Singlepage();
    $wt_wishlist->render_webtoffee_wishlist_button();
   }
}
  • This reply was modified 5 minutes ago by Abhishek.
  • This reply was modified 5 minutes ago by Abhishek.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer