Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




wp_kses_array_lc [ WordPress Function ]

wp_kses_array_lc ( $inarray )
Parameters:
  • (array) $inarray Unfiltered array
Returns:
  • (array) Fixed array with all lowercase keys
Defined at:



Goes through an array and changes the keys to all lower case.

Source


<?php
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;
        } 
# foreach $inval
    
# foreach $inarray

    
return $outarray;
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics