/** * Sets an existing WP comment as a user report object and retrieves it * * @param int $recipient_id The user ID that is being reported * @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_user_report($recipient_id, $comment_id, $args = array()) { return APP_Report_Factory::set_user_report($recipient_id, $comment_id, $args); }