W3cubDocs

/WordPress

MO::export_headers(): string

Return

string

Source

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

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/mo/export_headers