NOOP_Translations::translate()
Translates a singular string.
Method of the class: NOOP_Translations{}
No Hooks.
Return
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() NOOP Translations::translate code WP 6.6.2
public function translate( $singular, $context = null ) { return $singular; }