ap_have_answer_selected( mixed $question = null )

Description #

Check if question have answer selected.

Parameters #

  • $question
    mixed (Optional) Post object or ID. Default value: null

Source #

File: includes/qaquery.php

function ap_have_answer_selected( $question = null ) {
	$question = ap_get_post( $question );

	return ! empty( $question->selected_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