Lumberjack\PostTypes\Post::posts PHP Method

posts() public static method

Raw query function that uses the arguments provided to make a call to Timber::get_posts and casts the returning data in instances of ourself.
public static posts ( array $args = null ) : array
$args array standard WP_Query array
return array An array of Post objects
    public static function posts($args = null)
    {
        return Timber::get_posts($args, get_called_class());
    }