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.7.2

apply_filters('pre_load_script_translations') is found 1 times:

  • /wp-includes/l10n.php line 1296
    1292
    1293
    1294
    1295
    1296
    1297
    1298
    1299
    1300
    1301
    1302
    * @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: