Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function custom_product_shortcode() {
- global $product;
- $id = $product->id;
- if($id==2895){
- echo "".do_shortcode('[we_calendar defaultdate="" cat="SHORTCODE"]');
- }
- }
- add_action( 'woocommerce_product_thumbnails', 'custom_product_shortcode', 9);
Advertisement
Add Comment
Please, Sign In to add comment