Lines:
1 to 28 of 28
<?php /** * Fees * * This class is for adding arbitrary fees to the cart. Fees can be positive or negative (discounts) * * @package EDD * @subpackage Classes/Fees * @copyright Copyright (c) 2015, Pippin Williamson * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 1.5 */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; /* class EDD_Fees */ /* function EDD_Fees::__construct() – Setup the EDD Fees */ /* function EDD_Fees::add_fee() – Adds a new Fee */ /* function EDD_Fees::remove_fee() – Remove an Existing Fee */ /* function EDD_Fees::has_fees() – Check if any fees are present */ /* function EDD_Fees::get_fees() – Retrieve all active fees */ /* function EDD_Fees::get_fee() – Retrieve a specific fee */ /* function EDD_Fees::type_total() – Calculate the total fee amount for a specific fee type */ /* function EDD_Fees::total() – Calculate the total fee amount */ /* function EDD_Fees::record_fees() – Stores the fees in the payment meta */