WordPress at Your Fingertips
function is not described

SimplePie_Item::sanitize() public WP 1.0

Sanitize feed data

{} It's a method of the class: SimplePie_Item{}

No Hooks.

Return

String. Sanitized data

Usage

$SimplePie_Item = new SimplePie_Item();
$SimplePie_Item->sanitize( $data, $type, $base );
$data(string) (required)
Data to sanitize
$type(int) (required)
One of the SIMPLEPIE_CONSTRUCT_* constants
$base(string)
Base URL to resolve URLs against
Default: ''

Notes

Code of SimplePie_Item::sanitize() WP 5.8.2

public function sanitize($data, $type, $base = '')
{
	return $this->feed->sanitize($data, $type, $base);
}