Get all images from this database table June 12, 2022 by Tarik Billa Use the global $wpdb for example $myrows = $wpdb->get_results( “insert sql here");