WP_Translation_File::headers
Returns all headers.
Method of the class: WP_Translation_File{}
No Hooks.
Returns
Array
Usage
$WP_Translation_File = new WP_Translation_File(); $WP_Translation_File->headers(): array;
Changelog
| Since 6.5.0 | Introduced. |
WP_Translation_File::headers() WP Translation File::headers code WP 6.8.3
public function headers(): array {
if ( ! $this->parsed ) {
$this->parse_file();
}
return $this->headers;
}