WP_SimplePie_Sanitize_KSES::sanitize

SummerySummery

WordPress SimplePie sanitization using KSES.

Syntax

WP_SimplePie_Sanitize_KSES::sanitize( mixed $data, integer $type, string $base = '' )

DescriptionDescription

Sanitizes the incoming data, to ensure that it matches the type of data expected, using KSES.

ParametersParameters

$data

(mixed) (Required) The data that needs to be sanitized.

$type

(integer) (Required) The type of data that it's supposed to be.

$base

(string) (Optional) The xml:base value to use when converting relative URLs to absolute ones.

Default value: ''

ReturnReturn

(mixed) Sanitized data.

SourceSource

File: wp-includes/class-wp-simplepie-sanitize-kses.php


			

ChangelogChangelog

Changelog
Version Description
3.5.0 Introduced.
Scroll to Top