ap_update_answer_selected( integer $answer_id, boolean $selected = true )
Description #
Updates selected field of qameta.
Parameters #
- $answer_idinteger (Required) Answer ID.
- $selectedboolean (Optional) Is selected. Default value: true
Source #
File: includes/qameta.php
function ap_update_answer_selected( $answer_id, $selected = true ) { return ap_insert_qameta( $answer_id, array( 'selected' => (bool) $selected ) ); }
Expand full source code Collapse full source code View on GitHub: includes/qameta.php:432
Add your comment