HTTP/2 200
server: nginx
date: Fri, 10 Oct 2025 03:04:11 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
vary: accept, content-type
link:
; rel="https://api.w.org/"
link:
; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
x-frame-options: SAMEORIGIN
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 1
translation_file_format – Hook | Developer.WordPress.org
apply_filters( ‘translation_file_format’, string $preferred_format, string $domain )
Filters the preferred file format for translation files.
Can be used to disable the use of PHP files for translations.
$preferred_format
stringPreferred file format. Possible values: 'php'
, 'mo'
. Default: 'php'
.
$domain
stringThe text domain.
Version | Description |
---|
6.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.