1
有沒有什麼辦法可以在WP_Query中通過文件名訂購附件?WP_Query - 按文件名順序附件?
例如,在參數:
$args = array(
'post_type' => 'attachment',
'post_status' => 'inherit',
'post_mime_type' => 'image',
'order' => 'DESC',
'orderby' => 'filename'
);