Answers_Query::reset_answers_data()

Description #

Reset answers data in loop.

Source #

File: includes/answer-loop.php

176
177
178
179
180
181
182
public function reset_answers_data() {
    parent::reset_postdata();
 
    if ( ! empty( $this->post ) ) {
        anspress()->current_answer = $this->post;
    }
}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment