WordPress at a glance
function is not described

MO::export_to_file() public WP 1.0

{} It's a method of the class: MO{}

No Hooks.

Return

true|false. Null. Nothing.

Usage

$MO = new MO();
$MO->export_to_file( $filename );
$filename(string) (required)
-

Code of MO::export_to_file() WP 5.7

<?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;
}