MO::export_to_file

Advertisement

Syntax Syntax

MO::export_to_file( string $filename )

Parameters Parameters

$filename

(string) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.