ap_selected_answer( object|null|integer $_post = null )
Description #
Return the ID of selected answer from a question.
Parameters #
- $_postobject | null | integer (Optional) Post object, ID or null. Default value: null
Source #
File: includes/qaquery.php
function ap_selected_answer( $_post = null ) { $_post = ap_get_post( $_post ); if ( ! $_post ) { return false; } return $_post->selected_id; }
Expand full source code Collapse full source code View on GitHub: includes/qaquery.php:557
Add your comment