jetpack_i18n_state

jetpack_i18n_state

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

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

apply_filters('jetpack_i18n_state') is found 1 times:

  • /vendor/automattic/jetpack-assets/src/class-assets.php line 498
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    *    `plugins/textdomain` or `themes/textdomain` (or core `textdomain`, but that's unlikely).
     *  - `domainPaths`: (string[]) A mapping from Composer package textdomains to the corresponding package
     *     paths.
     */
    $data = apply_filters( 'jetpack_i18n_state', $data );
     
    // Can't use self::register_script(), this action is called too early.
    if ( file_exists( __DIR__ . '/../build/i18n-loader.asset.php' ) ) {
        $path  = '../build/i18n-loader.js';
        $asset = require __DIR__ . '/../build/i18n-loader.asset.php';
    } else {