add_submenu_page function to show videos table
I asked a similar question and got this answer, to query the DB for attachments and dump them into a list. This was the code that was provided to me: $media_query = new WP_Query( array( ‘post_type’ => ‘attachment’, // get attachments only ‘post_status’ => ‘inherit’, // attachments are not ‘published’, so set it to inherit … Read more