Timber\TermGetter::get_term_query_from_string PHP Method

get_term_query_from_string() protected static method

protected static get_term_query_from_string ( string $taxs ) : stdClass
$taxs string
return stdClass
    protected static function get_term_query_from_string($taxs)
    {
        $ret = new \stdClass();
        $ret->args = array();
        if (is_string($taxs)) {
            $taxs = array($taxs);
        }
        $ret->taxonomies = self::correct_taxonomy_names($taxs);
        return $ret;
    }