http://2068.online/wp-content/uploads/2024/09/table_1-en.csv
<?php
args = array(
'post_type' => 'attachment',
'name' => 'http://2068.online/wp-content/uploads/2024/09/table_1-en.csv' // 替换为你的CSV文件名
);query = new WP_Query(args);
if (query->have_posts()) {
while (query->have_posts()) {query->the_post();
echo get_the_title(); // 文件名
echo get_permalink(); // 文件URL
}
}
wp_reset_postdata();
?>