WordPress at a glance
function is not described

wp_get_pomo_file_data() WP 3.7.0

Extract headers from a PO file.

No Hooks.

Return

Array. PO file headers.

Usage

wp_get_pomo_file_data( $po_file );
$po_file(string) (required)
Path to PO file.

Code of wp get pomo file data: wp-includes/l10n.php WP 5.2.2

<?php
function wp_get_pomo_file_data( $po_file ) {
	$headers = get_file_data(
		$po_file,
		array(
			'POT-Creation-Date'  => '"POT-Creation-Date',
			'PO-Revision-Date'   => '"PO-Revision-Date',
			'Project-Id-Version' => '"Project-Id-Version',
			'X-Generator'        => '"X-Generator',
		)
	);
	foreach ( $headers as $header => $value ) {
		// Remove possible contextual '\n' and closing double quote.
		$headers[ $header ] = preg_replace( '~(\\\n)?"$~', '', $value );
	}
	return $headers;
}