NOOP_Translations::translatepublicWP 2.8.0

Translates a singular string.

Method of the class: NOOP_Translations{}

No Hooks.

Returns

null. Nothing (null).

Usage

$NOOP_Translations = new NOOP_Translations();
$NOOP_Translations->translate( $singular, $context );
$singular(string) (required)
.
$context(string)
.
Default: null

Changelog

Since 2.8.0 Introduced.

NOOP_Translations::translate() code WP 7.0

public function translate( $singular, $context = null ) {
	return $singular;
}