Automattic\WooCommerce\EmailEditor\Engine\Renderer

Html2Text::nbsp_codespublic staticWC 1.0

Get non-breaking space character codes

Method of the class: Html2Text{}

No Hooks.

Returns

Array. Array of nbsp codes.

Usage

$result = Html2Text::nbsp_codes(): array;

Html2Text::nbsp_codes() code WC 10.8.1

public static function nbsp_codes(): array {
	return array(
		"\xc2\xa0",
		"\u00a0",
	);
}