WP_Translation_File::headers()
Returns all headers.
Method of the class: WP_Translation_File{}
No Hooks.
Return
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.7.1
public function headers(): array { if ( ! $this->parsed ) { $this->parse_file(); } return $this->headers; }