ap_total_flagged_count()
Description #
Return total flagged post count.
Source #
File: includes/flag.php
function ap_total_flagged_count() { $opt['flagged_questions'] = ap_total_posts_count( 'question', 'flag' ); $updated = true; $opt['flagged_answers'] = ap_total_posts_count( 'answer', 'flag' ); $updated = true; return array( 'questions' => $opt['flagged_questions'], 'answers' => $opt['flagged_answers'], ); }
Expand full source code Collapse full source code View on GitHub: includes/flag.php:204
Add your comment