function _addthis_check_plain in AddThis 6.3
Helper function to recursively run an entire array through check_plain().
1 call to _addthis_check_plain()
- addthis_add_default_js in ./
addthis.module - Load the addthis_widget.js and the configured AddThis defaults.
File
- ./
addthis.module, line 425 - Provides integration with the AddThis.com bookmarking & sharing service.
Code
function _addthis_check_plain(&$item) {
if (is_array($item)) {
foreach ($item as $key => $value) {
_addthis_check_plain($value);
}
}
else {
$item = check_plain($item);
}
}