WPDev.one
Core Class

WP_Translation_File_MO

class WP_Translation_File_MO // Constructor: function Object() { [native code] }

Class WP_Translation_File_MO.

Methods 3 methods

Method / Return Description
detect_endian_and_validate_file()
(false

Detects endian and validates file.

Parameters: $header: string
parse_file()
bool

Parses the file.

export()
string

Exports translation contents as a string.

Properties

Property / Type Description
$uint32
mixed
public
No description available.

Class Information

Since Version
6.5.0
Source File
wp-includes/l10n/class-wp-translation-file-mo.php
Advertisement