init_query_flags example

$this->before_loop  = true;
        unset( $this->request );
        unset( $this->post );
        unset( $this->comments );
        unset( $this->comment );
        $this->comment_count         = 0;
        $this->current_comment       = -1;
        $this->found_posts           = 0;
        $this->max_num_pages         = 0;
        $this->max_num_comment_pages = 0;

        $this->init_query_flags();
    }

    /** * Reparses the query vars. * * @since 1.5.0 */
    public function parse_query_vars() {
        $this->parse_query();
    }

    
Home | Imprint | This part of the site doesn't use cookies.