[insert_php]
$dir = ‘wp-content/uploads/2016/SGC/6-Proceso de BIbliotecas/’;
$files = scandir($dir);
sort($files);
foreach ($files as $file) {
if ($file != ‘.’ && $file != ‘..’) {
echo ««.utf8_encode($file ).»\n»;
}
}
[/insert_php]