MO::export
Method of the class: MO{}
No Hooks.
Returns
String|false.
Usage
$MO = new MO(); $MO->export();
MO::export() MO::export code WP 7.0
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 );
}