load_script_translations

load_script_translations

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.8

apply_filters('load_script_translations') is found 1 times:

  • /wp-includes/l10n.php line 1330
    1326
    1327
    1328
    1329
    1330
    1331
    1332
    1333
    1334
    1335
    1336
         * @param string $file         Path to the translation file that was loaded.
         * @param string $handle       Name of the script to register a translation domain to.
         * @param string $domain       The text domain.
         */
        return apply_filters( 'load_script_translations', $translations, $file, $handle, $domain );
    }
     
    /**
     * Loads plugin and theme text domains just-in-time.
     *
     * When a textdomain is encountered for the first time, we try to load