SimplePie_Item::sanitize

Private AccessPrivate 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() instead.

SummerySummery

Sanitize feed data

Syntax

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

ParametersParameters

$data

(string) (Required) Data to sanitize

$type

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

$base

(string) (Optional) Base URL to resolve URLs against

Default value: ''

ReturnReturn

(string) Sanitized data

SourceSource

File: wp-includes/SimplePie/Item.php


			

See alsoSee also

Scroll to Top