load_script_translation_file

最后更新于:2021-11-27 03:45:59

apply_filters( ‘load_script_translation_file’, string|false $file, string $handle, string $domain )

Filters the file path for loading script translations for the given script handle and text domain.

参数

$file

(string|false)
Path to the translation file to load. False if there isn’t one.

$handle

(string)
Name of the script to register a translation domain to.

$domain

(string)
The text domain.

源文件

文件: gc-includes/l10n.php

View on Trac