noptin_clean( string|array|object $var )

Cleans all non-iterable elements of an array or an object.

Parameters Parameters


(string|array|object) (Required) Data to sanitize.

Top ↑

Return Return


Top ↑

Source Source

File: includes/functions.php

function noptin_clean( $var ) {
	return map_deep( $var, 'sanitize_text_field' );

Top ↑

Changelog Changelog


Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation