Warning: This method has been deprecated. Use POMO_CachedFileReader::__construct() instead.

POMO_CachedFileReader::POMO_CachedFileReader() WordPress Method

POMO_CachedFileReader is a class for reading .mo files with caching. It provides a wrapper for the PHP gettext functions. This class is useful for reading .mo files that are located in remote locations or on slow servers. By caching the .mo file content, this class can improve performance by reducing the number of times the .mo file needs to be read from the server.

POMO_CachedFileReader::POMO_CachedFileReader( $filename ) #

PHP4 constructor.


Description

Top ↑

See also


Top ↑

Source

File: wp-includes/pomo/streams.php

		public function POMO_CachedFileReader( $filename ) {
			_deprecated_constructor( self::class, '5.4.0', static::class );
			self::__construct( $filename );
		}


Top ↑

Changelog

Changelog
VersionDescription
5.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.