Automattic\WooCommerce\Internal\Admin\EmailPreview

EmailPreview::get_placeholder_image │ public │ WC 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 11.1.2

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