PHP 8.0.30
Preview: content-widget-product.php Size: 1.46 KB
/home/certprox/test.certproxywizard.com/wp-content/plugins/woocommerce/templates/content-widget-product.php

<?php
/**
 * The template for displaying product widget entries.
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/content-widget-product.php.
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see     https://woocommerce.com/document/template-structure/
 * @package WooCommerce\Templates
 * @version 3.5.5
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

global $product;

if ( ! is_a( $product, 'WC_Product' ) ) {
	return;
}

?>
<li>
	<?php do_action( 'woocommerce_widget_product_item_start', $args ); ?>

	<a href="<?php echo esc_url( $product->get_permalink() ); ?>">
		<?php echo $product->get_image(); // PHPCS:Ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
		<span class="product-title"><?php echo wp_kses_post( $product->get_name() ); ?></span>
	</a>

	<?php if ( ! empty( $show_rating ) ) : ?>
		<?php echo wc_get_rating_html( $product->get_average_rating() ); // PHPCS:Ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
	<?php endif; ?>

	<?php echo $product->get_price_html(); // PHPCS:Ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>

	<?php do_action( 'woocommerce_widget_product_item_end', $args ); ?>
</li>

Directory Contents

Dirs: 15 × Files: 14

Name Size Perms Modified Actions
auth DIR
- drwxr-xr-x 2026-03-02 23:35:15
Edit Download
- drwxr-xr-x 2026-03-02 23:35:15
Edit Download
brands DIR
- drwxr-xr-x 2026-03-04 08:23:05
Edit Download
cart DIR
- drwxr-xr-x 2026-03-02 23:35:15
Edit Download
checkout DIR
- drwxr-xr-x 2026-03-02 23:35:15
Edit Download
emails DIR
- drwxr-xr-x 2026-03-04 08:23:24
Edit Download
global DIR
- drwxr-xr-x 2026-03-02 23:35:16
Edit Download
loop DIR
- drwxr-xr-x 2026-03-02 23:35:16
Edit Download
myaccount DIR
- drwxr-xr-x 2026-03-02 23:35:16
Edit Download
notices DIR
- drwxr-xr-x 2026-03-02 23:35:16
Edit Download
order DIR
- drwxr-xr-x 2026-03-02 23:35:16
Edit Download
parts DIR
- drwxr-xr-x 2026-03-02 23:35:16
Edit Download
- drwxr-xr-x 2026-03-02 23:35:16
Edit Download
- drwxr-xr-x 2026-03-02 23:35:16
Edit Download
templates DIR
- drwxr-xr-x 2026-03-02 23:35:16
Edit Download
2.36 KB lrw-r--r-- 2026-03-02 23:35:15
Edit Download
1.61 KB lrw-r--r-- 2026-03-02 23:35:15
Edit Download
1.94 KB lrw-r--r-- 2026-03-02 23:35:15
Edit Download
2.21 KB lrw-r--r-- 2026-03-02 23:35:15
Edit Download
2.34 KB lrw-r--r-- 2026-03-02 23:35:15
Edit Download
1.46 KB lrw-r--r-- 2026-03-02 23:35:15
Edit Download
1.48 KB lrw-r--r-- 2026-03-02 23:35:15
Edit Download
1.57 KB lrw-r--r-- 2026-03-02 23:35:15
Edit Download
1.57 KB lrw-r--r-- 2026-03-02 23:35:16
Edit Download
6.27 KB lrw-r--r-- 2026-03-02 23:35:16
Edit Download
1.62 KB lrw-r--r-- 2026-03-02 23:35:16
Edit Download
834 B lrw-r--r-- 2026-03-02 23:35:16
Edit Download
827 B lrw-r--r-- 2026-03-02 23:35:16
Edit Download
822 B lrw-r--r-- 2026-03-02 23:35:16
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).