WPDev.one
Core Function
View Source on Trac ↗

wp_get_l10n_php_file_data()

wp_get_l10n_php_file_data( mixed $php_file )

Extracts headers from a PHP translation file.

Parameters 1 required

Name / Type Description
$php_file
string

Path to a `.l10n.php` file.

Required

Return Value

(string[])
Array of file header values keyed by header name.

Function Information

Since Version
6.6.0
Source File
wp-includes/l10n.php
Advertisement