wp-includes/functions.php:794Retrieves the post category or categories from XMLRPC XML.
$contentstringstring|arrayfunction xmlrpc_getpostcategory( $content ) { global $post_default_category; if ( preg_match( '/<category>(.+?)<\/category>/is', $content, $matchcat ) ) { $post_category = trim( $matchcat[1], ',' ); $post_category = explode( ',', $post_category ); } else { $post_category = $post_default_category; } return $post_category;}Introduced in 0.71. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
string|array to string[]|string.verified against sourcesrc/wp-includes/functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.