\ BWP_Sitemaps_Sitemap_Sanitizer_Xml_TextSanitizer

Summary

Methods
Properties
Constants
__construct()
sanitize()
No public properties found
No constants found
set_default_options()
get_option()
$options
N/A

Properties

$options

$options : array

Sanitizer options

Type

array

Methods

__construct()

__construct(array  $options = array()) 

Parameters

array $options

sanitize()

sanitize(mixed  $value) : string|null

Sanitize a value for sitemap rendering

This should always return a string representation of the value

Parameters

mixed $value

Returns

string|null

null if the sanitized value is not valid

set_default_options()

set_default_options() 

Set default options for this sanitizer

get_option()

get_option(  $key) 

Parameters

$key