📅  最后修改于: 2022-03-11 14:54:24.854000             🧑  作者: Mango
$espbc = get_sub_field('add_posts_by_category');
$defaults_param = array(
//'numberposts' => -1,
'post_type' => 'post',
'category' => $espbc,
'posts_per_page' => 6,
'suppress_filters' => false
);
$catPost = get_posts($defaults_param);