我正在尝试按作者筛选wp\\u dropdown\\u pages函数的结果,以下是我到目前为止得到的结果。
$dropdown_args = array(
\'post_type\' => $post->post_type,
\'exclude_tree\' => $post->ID,
\'selected\' => $post->post_parent,
\'name\' => \'parent_id\',
\'show_option_none\' => __(\'(no parent)\'),
\'sort_column\' => \'menu_order, post_title\',
\'echo\' => 0,
\'authors\' => \'-11\',
);
wp_dropdown_pages( $dropdown_args );
当我尝试此操作时,下拉列表不会显示,我在这里做错了什么?