Inpsyde\MultilingualPress\Widget\Dashboard\UntranslatedPosts\TypeSafePostRepository::get_untranslated_posts PHP Method

get_untranslated_posts() public method

Returns all untranslated posts for the current site.
Since: 3.0.0
public get_untranslated_posts ( ) : WP_Pos\WP_Post[]
return WP_Pos\WP_Post[] All untranslated posts for the current site.
    public function get_untranslated_posts()
    {
        return get_posts(['suppress_filters' => false, 'post_status' => 'any', 'meta_query' => ['relation' => 'OR', ['key' => PostRepository::META_KEY, 'compare' => '!=', 'value' => true], ['key' => PostRepository::DEPRECATED_META_KEY, 'compare' => '!=', 'value' => true]]]);
    }