load_script_translations

最后更新于:2021-11-27 03:43:48

apply_filters( ‘load_script_translations’, string $translations, string $file, string $handle, string $domain )

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

参数

$translations

(string)
JSON-encoded translation data.

$file

(string)
Path to the translation file that was loaded.

$handle

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

$domain

(string)
The text domain.

源文件

文件: gc-includes/l10n.php

View on Trac