MO::export_to_file

Advertisement

Syntax Syntax

MO::export_to_file( string $filename )

Parameters Parameters

$filename

(Required)

Return Return

(bool)

Source Source

File: wp-includes/pomo/mo.php

		function export_to_file( $filename ) {
			$fh = fopen( $filename, 'wb' );
			if ( ! $fh ) {
				return false;
			}
			$res = $this->export_to_file_handle( $fh );
			fclose( $fh );
			return $res;
		}

Advertisement

Advertisement

Leave a Reply