wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_kses_array_lc › WordPress Function
Depuis1.0.0
Dépréciéen/a
› wp_kses_array_lc ( $inarray )
| Paramètres: |
|
| Retourne: |
|
| Défini(e) dans: |
|
| Codex: |
Converts the keys of an array to lowercase.
Fonctions en relation: wp_kses_attr, wp_kses_attr_check, wp_kses_data, wp_kses_hair, wp_kses_attr_parse
Source
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;
}