/** * Get attached media ids for the comment * * @param type $comment_id * @return array of media ids */ function mpp_comment_get_attached_media_ids($comment_id) { return mpp_get_comment_meta($comment_id, '_mpp_attached_media_id', false); }
/** * Get the associated activity ID for a WordPress Comment * * @param type $comment_id * @return type */ function mpp_comment_get_associated_activity_id($comment_id) { return mpp_get_comment_meta($comment_id, '_mpp_activity_id', true); }