src/services/WordsmithService.php
public function widont($s, $settings = []) : string
	{
		return Wordsmith::$plugin->typography->widont($s, $settings);
	}
public function widont($s, $settings = []) : string
	{
		return Wordsmith::$plugin->typography->widont($s, $settings);
	}
Replaces the space between the last two words in a string with a `&nbsp;` to prevent widowing.

c.f. PHP-Typography

@param string $s
@param array $settings
@return string