MO::export_headers() WordPress Method

The MO::export_headers() method can be used to export the headers of a WordPress site. This is useful for backing up or transferring the site to another server.

MO::export_headers() #


Return

(string)


Top ↑

Source

File: wp-includes/pomo/mo.php

		public function export_headers() {
			$exported = '';
			foreach ( $this->headers as $header => $value ) {
				$exported .= "$header: $value\n";
			}
			return $exported;
		}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.