Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

load_script_translations()

3 tags 1 category

load_script_translations() — Loads the translation data for the given script handle and text domain.

Inputs: $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.

Returns string|false: The JSON-encoded translated strings for the given script handle and text domain. False if there are none.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…