$upload_dir = wp_upload_dir(); <!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->$logo_dir = ( $upload_dir['basedir'] . '/wp-content/uploads/wp_text_to_image/' );<!-- [et_pb_line_break_holder] -->echo $logo_dir . '-----<br />';<!-- [et_pb_line_break_holder] -->$images = glob( $logo_dir . "*.PNG" );<!-- [et_pb_line_break_holder] -->foreach( $images as $image ) {<!-- [et_pb_line_break_holder] --> echo $image;<!-- [et_pb_line_break_holder] -->}