pre_load_script_translations

pre_load_script_translations

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('pre_load_script_translations') is found 1 times:

  • /wp-includes/l10n.php line 1286
    	 * @param string|false      $file         Path to the translation file to load. False if there isn't one.
    	 * @param string            $handle       Name of the script to register a translation domain to.
    	 * @param string            $domain       The text domain.
    	 */
    	$translations = apply_filters( 'pre_load_script_translations', null, $file, $handle, $domain );
    
    	if ( null !== $translations ) {
    		return $translations;
    	}
    
    	/**
    

See this hook used in plugins: