/** * Get posts from array of ids. * * @param array $query * @param string $PostClass * @return array|null * @deprecated since 0.20.0 */ static function get_posts_from_array_of_ids($query = array(), $PostClass = 'TimberPost') { return TimberPostGetter::get_posts($query, $PostClass); }
/** * Get posts. * * @param mixed $query * @param string $PostClass * @return array|bool|null */ public static function get_posts($query = false, $PostClass = 'TimberPost', $return_collection = false) { return TimberPostGetter::get_posts($query, $PostClass, $return_collection); }