/** * Sets an existing WP comment as a report object and retrieves it * * @param int $comment_id The WordPress comment ID * @param array $args (optional) Additional optional params to be passed to the report object. * Expects user ($args['user_meta']) or post meta ($args['post_meta']) as associative arrays. * Meta passed trough 'user_meta' is stored in the reporter user meta and the 'post_meta' in the post meta for the post being reported * * @return object The report object */ function appthemes_set_report($comment_id, $args = array()) { return APP_Report_Factory::set_post_report($comment_id, $args); }