wp_kses_array_lc

Advertisement

Summery Summery

Converts the keys of an array to lowercase.

Syntax Syntax

wp_kses_array_lc( array $inarray )

Parameters Parameters

$inarray

(Required) Unfiltered array.

Return Return

(array) Fixed array with all lowercase keys.

Source Source

File: wp-includes/kses.php

	}

	$string = preg_replace( '/[\x00-\x08\x0B\x0C\x0E-\x1F]/', '', $string );
	if ( 'remove' === $options['slash_zero'] ) {
		$string = preg_replace( '/\\\\+0+/', '', $string );
	}

	return $string;
}

/**
 * Strips slashes from in front of quotes.
 *
 * This function changes the character sequence `\"` to just `"`. It leaves all other
 * slashes alone. The quoting from `preg_replace(//e)` requires this.

Advertisement

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.

Advertisement

Leave a Reply