Loader::get_translation_chunk_data( string $lang_dir, string $domain, string $locale )

Find and combine translation chunk files.


Description Description

Only targets files that aren’t represented by a registered script (e.g. not passed to wp_register_script()).


Parameters Parameters

$lang_dir

(Required) Path to language files.

$domain

(Required) Text domain.

$locale

(Required) Locale being retrieved.


Top ↑

Return Return

(array) Combined translation chunk data.


Top ↑

Source Source

File: packages/woocommerce-admin/src/Loader.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.