MO::export_to_file()publicWP 1.0

Method of the class: MO{}

No Hooks.

Return

true|false.

Usage

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

MO::export_to_file() code WP 6.1.1

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