MO::export

Advertisement

Syntax Syntax

MO::export()

Return Return

(string|false)

Source Source

File: wp-includes/pomo/mo.php

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

Advertisement

Advertisement

Leave a Reply