pre_get_language_files_from_path

pre_get_language_files_from_path

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.8

apply_filters('pre_get_language_files_from_path') is found 1 times:

  • /wp-includes/class-wp-textdomain-registry.php line 197
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    *
     * @param null|array $files List of translation files. Default null.
     * @param string     $path  The path from which translation files are being fetched.
     */
    $files = apply_filters( 'pre_get_language_files_from_path', null, $path );
     
    if ( null !== $files ) {
        return $files;
    }
     
    $cache_key = md5( $path );