Used By
Used By | Description |
---|---|
wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::blogger_newPost() | Creates new post. |
wp-includes/class-wp-xmlrpc-server.php: wp_xmlrpc_server::blogger_editPost() | Edit a post. |
XMLRPC XML content without title and category elements.
(string) (Required) XML-RPC XML Request content.
(string) XMLRPC XML Request content without title and category elements.
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; }
Version | Description |
---|---|
0.71 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/xmlrpc_removepostdata