xmlrpc_removepostdata( string $content )
XMLRPC XML content without title and category elements.
Description Description
Parameters Parameters
- $content
-
(string) (Required) XML-RPC XML Request content.
Return Return
(string) XMLRPC XML Request content without title and category elements.
Source Source
File: wp-includes/functions.php
function xmlrpc_removepostdata( $content ) { $content = preg_replace( '/<title>(.+?)<\/title>/si', '', $content ); $content = preg_replace( '/<category>(.+?)<\/category>/si', '', $content ); $content = trim( $content ); return $content; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
0.71 | Introduced. |