Translation_Entry
- Since
- 2.8.0
- Source
wp-includes/pomo/entry.php:16
Translation_Entry class encapsulates a translatable string.
Compatibility
- WordPress
- since 2.8.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Properties · 9
$is_pluralboolpublic- Whether the entry contains a string and its plural form, default is false.
$contextpublic$singularpublic$pluralpublic$translationspublic$translator_commentspublic$extracted_commentspublic$referencespublic$flagspublic
Methods · 4
- __construct()
- Translation_Entry()PHP4 constructor.
- key()Generates a unique key for this entry.
- merge_with()Merges another translation entry with the current one.
Changelog
Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, from
src/wp-includes/pomo/entry.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.