WordPress This code snippet adds a new column to the WordPress media library with the file size of the images. This…