xmlrpc_removepostdata

函数


xmlrpc_removepostdata ( $content )
参数
  • (string)
    $content
    XML-RPC XML Request content.
    Required:
返回值
  • (string) XMLRPC XML Request content without title and category elements.
定义位置
  • wp-includes/functions.php
    , line 814
引入
0.71
弃用

XMLRPC XML content without title and category elements.

function xmlrpc_removepostdata( $content ) {
	$content = preg_replace( '/(.+?)/si', '', $content );
	$content = preg_replace( '/(.+?)/si', '', $content );
	$content = trim( $content );
	return $content;
}