MO::export
Метод класса: MO{}
Хуков нет.
Возвращает
Строку|false.
Использование
$MO = new MO(); $MO->export();
Код MO::export() MO::export 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 );
}