Automattic\WooCommerce\Internal\Admin\EmailPreview

EmailPreview::get_placeholder_imagepublicWC 1.0

Get the placeholder image for the preview email.

Method of the class: EmailPreview{}

No Hooks.

Returns

String.

Usage

$EmailPreview = new EmailPreview();
$EmailPreview->get_placeholder_image();

EmailPreview::get_placeholder_image() code WC 10.7.0

public function get_placeholder_image() {
	return '<img src="' . WC()->plugin_url() . '/assets/images/placeholder.webp" width="48" height="48" alt="" />';
}