parse_tax_query example

$this->is_month = true;
                } else {
                    $this->is_year = true;
                }
            }

            if ( $qv['w'] ) {
                $this->is_date = true;
            }

            $this->query_vars_hash = false;
            $this->parse_tax_query( $qv );

            foreach ( $this->tax_query->queries as $tax_query ) {
                if ( ! is_array( $tax_query ) ) {
                    continue;
                }

                if ( isset( $tax_query['operator'] ) && 'NOT IN' !== $tax_query['operator'] ) {
                    switch ( $tax_query['taxonomy'] ) {
                        case 'category':
                            $this->is_category = true;
                            break;
                        
Home | Imprint | This part of the site doesn't use cookies.