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