WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

wc_placeholder_img_src() WC 1.0

Get the placeholder image URL either from media, or use the fallback image.

Хуки из функции
Возвращает

Строку.

Использование

wc_placeholder_img_src( $size );
$size(строка)
Thumbnail size to use.
По умолчанию: 'woocommerce_thumbnail'

Код wc placeholder img src: woocommerce/includes/wc-product-functions.php WC 3.6.3

<?php
function wc_placeholder_img_src( $size = 'woocommerce_thumbnail' ) {
	$src               = WC()->plugin_url() . '/assets/images/placeholder.png';
	$placeholder_image = get_option( 'woocommerce_placeholder_image', 0 );

	if ( ! empty( $placeholder_image ) ) {
		if ( is_numeric( $placeholder_image ) ) {
			$image = wp_get_attachment_image_src( $placeholder_image, $size );

			if ( ! empty( $image[0] ) ) {
				$src = $image[0];
			}
		} else {
			$src = $placeholder_image;
		}
	}

	return apply_filters( 'woocommerce_placeholder_img_src', $src );
}