Translations::translate_entry()publicWP 1.0

Method of the class: Translations{}

No Hooks.

Return

null. Nothing.

Usage

$Translations = new Translations();
$Translations->translate_entry( $entry );
$entry(Translation_Entry) (required) (passed by reference — &)
-

Translations::translate_entry() code WP 6.1.1

public function translate_entry( &$entry ) {
	$key = $entry->key();
	return isset( $this->entries[ $key ] ) ? $this->entries[ $key ] : false;
}