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)
Source
File: wp-includes/pomo/mo.php
public function export_headers() {
$exported = '';
foreach ( $this->headers as $header => $value ) {
$exported .= "$header: $value\n";
}
return $exported;
}
Expand full source codeCollapse full source codeView on TracView on GitHub