public function set_smart_quotes_exceptions( $exceptions = [
		"'tain't"   => U::APOSTROPHE . 'tain' . U::APOSTROPHE . 't',
		"'twere"    => U::APOSTROPHE . 'twere',
		"'twas"     => U::APOSTROPHE . 'twas',
		"'tis"      => U::APOSTROPHE . 'tis',
		"'til"      => U::APOSTROPHE . 'til',
		"'bout"     => U::APOSTROPHE . 'bout',
		"'nuff"     => U::APOSTROPHE . 'nuff',
		"'round"    => U::APOSTROPHE . 'round',
		"'cause"    => U::APOSTROPHE . 'cause',
		"'splainin" => U::APOSTROPHE . 'splainin',
		"'em'"      => U::APOSTROPHE . 'em',
	] ) {
		$this->data['smartQuotesExceptions'] = [
			'patterns'     => \array_keys( $exceptions ),
			'replacements' => \array_values( $exceptions ),
		];
	}
public function set_smart_quotes_exceptions( $exceptions = [
		"'tain't"   => U::APOSTROPHE . 'tain' . U::APOSTROPHE . 't',
		"'twere"    => U::APOSTROPHE . 'twere',
		"'twas"     => U::APOSTROPHE . 'twas',
		"'tis"      => U::APOSTROPHE . 'tis',
		"'til"      => U::APOSTROPHE . 'til',
		"'bout"     => U::APOSTROPHE . 'bout',
		"'nuff"     => U::APOSTROPHE . 'nuff',
		"'round"    => U::APOSTROPHE . 'round',
		"'cause"    => U::APOSTROPHE . 'cause',
		"'splainin" => U::APOSTROPHE . 'splainin',
		"'em'"      => U::APOSTROPHE . 'em',
	] ) {
		$this->data['smartQuotesExceptions'] = [
			'patterns'     => \array_keys( $exceptions ),
			'replacements' => \array_values( $exceptions ),
		];
	}
public function set_smart_quotes_exceptions ( $ exceptions = [ "'tain't" => U :: APOSTROPHE . 'tain' . U :: APOSTROPHE . 't' , "'twere" => U :: APOSTROPHE . 'twere' , "'twas" => U :: APOSTROPHE . 'twas' , "'tis" => U :: APOSTROPHE . 'tis' , "'til" => U :: APOSTROPHE . 'til' , "'bout" => U :: APOSTROPHE . 'bout' , "'nuff" => U :: APOSTROPHE . 'nuff' , "'round" => U :: APOSTROPHE . 'round' , "'cause" => U :: APOSTROPHE . 'cause' , "'splainin" => U :: APOSTROPHE . 'splainin' , "'em'" => U :: APOSTROPHE . 'em' , ] ) { $ this -> data [ 'smartQuotesExceptions' ] = [ 'patterns' => \ array_keys ( $ exceptions ) , 'replacements' => \ array_values ( $ exceptions ) , ] ; }
Sets the list of exceptional words for smart quotes replacement. Mainly,
this is used for contractions beginning with an apostrophe.

@param string[] $exceptions Optional. An array of replacements indexed by the ”non-smart" form.
Default a list of English words beginning with an apostrophy.
Sets the list of exceptional words for smart quotes replacement . Mainly this is used for contractions beginning with an apostrophe .