Lines:
1 to 47 of 47
<?php /** * Cart Template * * @package EDD * @subpackage Cart * @copyright Copyright (c) 2015, Pippin Williamson * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 1.0 */ // Exit if accessed directly if ( !defined( 'ABSPATH' ) ) exit; /* function edd_checkout_cart() – Builds the Cart by providing hooks and calling all the hooks for the Cart */ /* function edd_shopping_cart() – Renders the Shopping Cart */ /* function edd_get_cart_item_template() – Get Cart Item Template */ /* function edd_empty_cart_message() – Returns the Empty Cart Message */ /* function edd_empty_checkout_cart() – Echoes the Empty Cart Message */ add_action( 'edd_cart_empty', 'edd_empty_checkout_cart' ); /* * Calculate the number of columns in the cart table dynamically. * * @since 1.8 * @return int The number of columns */ /* function edd_checkout_cart_columns() – */ /* function edd_save_cart_button() – Display the "Save Cart" button on the checkout */ /* function edd_empty_cart_restore_cart_link() – Displays the restore cart link on the empty cart page, if a cart is saved */ add_action( 'edd_cart_empty', 'edd_empty_cart_restore_cart_link' ); /* function edd_update_cart_button() – Display the "Save Cart" button on the checkout */ /* function edd_display_cart_messages() – Display the messages that are related to cart saving */ add_action( 'edd_before_checkout_cart', 'edd_display_cart_messages' ); /* function edd_show_added_to_cart_messages() – Show Added To Cart Messages */ add_action('edd_after_download_content', 'edd_show_added_to_cart_messages');