• Varun Sridharan's avatar
    Changes By Varun S · b7831763
    Varun Sridharan authored
    Seperate Page For Listing Donors
    Function To Get Grouped Donation IDS By User & Project
    3 New Templates Added Used for my account in front end
    myaccount/view-donation.php
    order/order-details-item.php
    order/order-details-customer.php
    Added 3 Functions
    b7831763
wc-quick-donation-functions.php 563 Bytes
<?php

if(! function_exists('qd_get_message')){
    function get_message($id,$search_replace = array()){
        $message = WC_QD()->db()->get_message($id,$search_replace);
        return $message;
    }
        
}

if(! function_exists('qd_min_amount_project'){
    function qd_min_amount_project($id = ''){
        $min = WC_QD()->db()->min_project($id);
        return $min;
    }
}

   
if(! function_exists('qd_max_amount_project'){
    function qd_max_amount_project($id = ''){
        $max = WC_QD()->db()->max_project($id);
        return $max;
    }
}
?>