posts WHERE post_type = 'attachment' AND post_author = " . $userdata->ID . " ORDER BY post_modified DESC"; } else { $attachments_sql = "SELECT * FROM $wpdb->posts WHERE post_type = 'attachment' ORDER BY post_modified DESC"; } $attachment_files = $wpdb->get_results( $attachments_sql ); ?>

Media Library. If you need to upload a new attachment, please close this dialog and use the available Add to Media Library button.", "attachments"); ?> Apply.", "attachments")?>

'Images', 'mime' => 'image', ), array( 'name' => 'Videos', 'mime' => 'video' ), array( 'name' => 'Documents', 'mime' => 'application' ), array( 'name' => 'Audio', 'mime' => 'audio' ), ); ?>

post_mime_type, $attachments_attachment_type['mime']) !== false ) : ?>
Icon File
Icon File
ID, array(80, 60), true ); ?> post_name; ?> ID; ?>

post_name; ?>