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

apply_filters('pre_get_language_files_from_path') is found 1 times:

  • /wp-includes/class-wp-textdomain-registry.php line 197
    		 *
    		 * @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 );