MO
- Source
wp-includes/pomo/mo.php:14
Compatibility
- WordPress
- core
- 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 · 2
$_npluralsintpublic- Number of plural forms.
$filenamestringprivate- Loaded MO file.
Methods · 14
- get_filename()Returns the loaded MO file.
- import_from_file()Fills up with the entries from MO file $filename
- export_to_file()
- export()
- is_entry_good_for_export()
- export_to_file_handle()
- export_original()
- export_translations()
- export_headers()
- get_byteorder()
- import_from_reader()
- make_entry()Build a Translation_Entry from original string and translation strings, found in a MO file
- select_plural_form()
- get_plural_forms_count()
Changelog
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/mo.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.