1173functionload_script_module_textdomain(string$id,string$domain='default',string$path=''){1174$module=wp_script_modules()->get_registered($id);1175if(null===$module){1176returnfalse;1177}1178$src=$module['src'];11791180// Ensure src is an absolute URL for path resolution.1181if(!preg_match('|^(https?:)?//|',$src)){1182$src=site_url($src);1183}11841185return_load_script_textdomain_from_src($id,$src,$domain,$path,true);1186}
History
Introduced in 7.0.0. Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/l10n.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.