Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




xmlrpc_removepostdata [ WordPress Function ]

xmlrpc_removepostdata ( $content )
Parameters:
  • (string) $content XMLRPC XML Request content
Returns:
  • (string) XMLRPC XML Request content without title and category elements.
Defined at:



XMLRPC XML content without title and category elements.

Source


<?php
function xmlrpc_removepostdata$content ) {
    
$content preg_replace'/<title>(.+?)<\/title>/si'''$content );
    
$content preg_replace'/<category>(.+?)<\/category>/si'''$content );
    
$content trim$content );
    return 
$content;
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics