ap_set_flag_count( integer $post_id, integer $count = 1 )
Description #
Set flags count for a qameta
Parameters #
- $post_idinteger (Required) Post ID.
- $countinteger (Optional) Custom count. Default value: 1
Source #
File: includes/qameta.php
function ap_set_flag_count( $post_id, $count = 1 ) { return ap_insert_qameta( $post_id, array( 'flags' => $count ) ); }
Expand full source code Collapse full source code View on GitHub: includes/qameta.php:407
Add your comment