📜  get_posts 类别 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:04.100000             🧑  作者: Mango

代码示例1
$defaults_param = array(
                'numberposts'          => -1,
                'post_type'            => 'post',
                'category'             => 40 ,
                'suppress_filters'    => false
            );
$get_featured_post = get_posts($defaults_param);