ap_get_answer( integer $answer_id )

Description #

Get an answer by ID

Parameters #

  • $answer_id
    integer (Required) Answers ID.

Changelog #

VersionDescription
2.1Introduced.

Source #

File: includes/answer-loop.php

function ap_get_answer( $answer_id ) {
	return new Answers_Query( array( 'p' => $answer_id ) );
}

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