MO::export_to_file( string $filename ): bool

In this article

Parameters

$filenamestringrequired

Return

bool

Source

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

User Contributed Notes

You must log in before being able to contribute a note or feedback.