Private Access Private Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness. Use SimplePie_Sanitize::sanitize() instead.

Summery Summery

Sanitize feed data

Syntax Syntax

SimplePie::sanitize( string $data, int $type, string $base = '' )

Parameters Parameters


(Required) Data to sanitize


(Required) One of the SIMPLEPIE*CONSTRUCT** constants


(Optional) Base URL to resolve URLs against

Default value: ''

Return Return

(string) Sanitized data

Source Source

File: wp-includes/class-simplepie.php

	 * <pre>
	 * // This is probably a bad example because we already support
	 * // <media:content> natively, but it shows you how to parse through
	 * // the nodes.


See also See also


Leave a Reply