savedomdocument
savedomdocument ( $doc, $filename )
Parameters:- (DOMDocument) doc The DOMDocument object to save.
- (string) filename The file path to save the XML document to.
Defined at: - Introduced in WordPress: 2.8.0
- Deprecated in WordPress: —
Description
Saves the XML document into a file.