wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
wp_kses_array_lc › WordPress Function
Da1.0.0
Deprecaton/a
› wp_kses_array_lc ( $inarray )
| Parametri: |
|
| Ritorna: |
|
| Definito a: |
|
| Codex: |
Converts the keys of an array to lowercase.
Funzioni correlate: wp_kses_attr, wp_kses_attr_check, wp_kses_data, wp_kses_hair, wp_kses_attr_parse
Sorgenti
function wp_kses_array_lc( $inarray ) {
$outarray = array();
foreach ( (array) $inarray as $inkey => $inval ) {
$outkey = strtolower( $inkey );
$outarray[ $outkey ] = array();
foreach ( (array) $inval as $inkey2 => $inval2 ) {
$outkey2 = strtolower( $inkey2 );
$outarray[ $outkey ][ $outkey2 ] = $inval2;
}
}
return $outarray;
}