Lines:
1 to 61 of 61
<?php /** * Shortcodes * * @package EDD * @subpackage Shortcodes * @copyright Copyright (c) 2018, Easy Digital Downloads, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 1.0 */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; /* function edd_download_shortcode() – Purchase Link Shortcode */ add_shortcode( 'purchase_link', 'edd_download_shortcode' ); /* function edd_download_history() – Download History Shortcode */ add_shortcode( 'download_history', 'edd_download_history' ); /* function edd_purchase_history() – Purchase History Shortcode */ add_shortcode( 'purchase_history', 'edd_purchase_history' ); /* function edd_checkout_form_shortcode() – Checkout Form Shortcode */ add_shortcode( 'download_checkout', 'edd_checkout_form_shortcode' ); /* function edd_cart_shortcode() – Download Cart Shortcode */ add_shortcode( 'download_cart', 'edd_cart_shortcode' ); /* function edd_login_form_shortcode() – Login Shortcode */ add_shortcode( 'edd_login', 'edd_login_form_shortcode' ); /* function edd_register_form_shortcode() – Register Shortcode */ add_shortcode( 'edd_register', 'edd_register_form_shortcode' ); /* function edd_discounts_shortcode() – Discounts shortcode */ add_shortcode( 'download_discounts', 'edd_discounts_shortcode' ); /* function edd_purchase_collection_shortcode() – Purchase Collection Shortcode */ add_shortcode( 'purchase_collection', 'edd_purchase_collection_shortcode' ); /* function edd_downloads_query() – Downloads Shortcode */ add_shortcode( 'downloads', 'edd_downloads_query' ); add_shortcode( 'edd_downloads', 'edd_downloads_query' ); /* function edd_download_price_shortcode() – Price Shortcode */ add_shortcode( 'edd_price', 'edd_download_price_shortcode' ); /* function edd_receipt_shortcode() – Receipt Shortcode */ add_shortcode( 'edd_receipt', 'edd_receipt_shortcode' ); /* function edd_profile_editor_shortcode() – Render the profile editor shortcode. */ add_shortcode( 'edd_profile_editor', 'edd_profile_editor_shortcode' ); /* function edd_process_profile_editor_updates() – Process profile updates. */ add_action( 'edd_edit_user_profile', 'edd_process_profile_editor_updates' ); /* function edd_process_profile_editor_remove_email() – Process the ‘remove’ URL on the profile editor when customers wish to remove an email address */ add_action( 'edd_profile-remove-email', 'edd_process_profile_editor_remove_email' );