add-to-cart
6 years ago
tabs
6 years ago
meta.php
6 years ago
photoswipe.php
7 years ago
price.php
6 years ago
product-attributes.php
7 years ago
product-image.php
6 years ago
product-thumbnails.php
7 years ago
rating.php
7 years ago
related.php
6 years ago
review-meta.php
6 years ago
review-rating.php
7 years ago
review.php
6 years ago
sale-flash.php
6 years ago
share.php
7 years ago
short-description.php
7 years ago
stock.php
7 years ago
title.php
7 years ago
up-sells.php
6 years ago
share.php
27 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Single Product Share |
| 4 | * |
| 5 | * Sharing plugins can hook into here or you can add your own code directly. |
| 6 | * |
| 7 | * This template can be overridden by copying it to yourtheme/woocommerce/single-product/share.php. |
| 8 | * |
| 9 | * HOWEVER, on occasion WooCommerce will need to update template files and you |
| 10 | * (the theme developer) will need to copy the new files to your theme to |
| 11 | * maintain compatibility. We try to do this as little as possible, but it does |
| 12 | * happen. When this occurs the version of the template file will be bumped and |
| 13 | * the readme will list any important changes. |
| 14 | * |
| 15 | * @see https://docs.woocommerce.com/document/template-structure/ |
| 16 | * @package WooCommerce/Templates |
| 17 | * @version 3.5.0 |
| 18 | */ |
| 19 | |
| 20 | if ( ! defined( 'ABSPATH' ) ) { |
| 21 | exit; // Exit if accessed directly. |
| 22 | } |
| 23 | |
| 24 | do_action( 'woocommerce_share' ); // Sharing plugins can hook into here. |
| 25 | |
| 26 | /* Omit closing PHP tag at the end of PHP files to avoid "headers already sent" issues. */ |
| 27 |