For example: $args = [ 'post_status' => 'publish', ]; $only_published_posts = get_posts( $args );. Likewise we can pass an array of the statuses ...
確定! 回上一頁