ap_have_answer_selected( mixed $question = null )
Description #
Check if question have answer selected.
Parameters #
- $questionmixed (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 );
}
Expand full source code Collapse full source code View on GitHub: includes/qaquery.php:545
Add your comment