ap_is_selected( mixed $_post = null )
Description #
Check if current answer is selected as a best
Parameters #
- $_postmixed (Optional) Post. Default value: null
Source #
File: includes/qaquery.php
function ap_is_selected( $_post = null ) { $_post = ap_get_post( $_post ); if ( ! $_post ) { return false; } return (bool) $_post->selected; }
Expand full source code Collapse full source code View on GitHub: includes/qaquery.php:574
Add your comment