MO::export(): string|false

In this article

Return

string|false

Source

public function export() {
	$tmp_fh = fopen( 'php://temp', 'r+' );
	if ( ! $tmp_fh ) {
		return false;
	}
	$this->export_to_file_handle( $tmp_fh );
	rewind( $tmp_fh );
	return stream_get_contents( $tmp_fh );
}

User Contributed Notes

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