woocommerce_blocks_get_i18n_data_json( string|false|null $translations, string|false $file, string $handle, string $domain )

Pre-filters script translations for the given file, script handle and text domain.


Description Description


Parameters Parameters

$translations

(Required) JSON-encoded translation data. Default null.

$file

(Required) Path to the translation file to load. False if there isn't one.

$handle

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

$domain

(Required) The text domain.


Top ↑

Return Return

(string) JSON translations.


Top ↑

Source Source

File: packages/woocommerce-blocks/woocommerce-gutenberg-products-block.php


			

Top ↑

User Contributed Notes User Contributed Notes

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