W3cubDocs

/WordPress

POMO_FileReader::__construct( string $filename )

Parameters

$filenamestringrequired

Source

public function __construct( $filename ) {
	parent::__construct();
	$this->_f = fopen( $filename, 'rb' );
}

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/POMO_FileReader/__construct