W3cubDocs

/WordPress

Translations::translate_entry( Translation_Entry $entry )

Parameters

$entry

(Translation_Entry) (Required)

Source

File: wp-includes/pomo/translations.php

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

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/translations/translate_entry