PATH:
home
/
letacommog
/
aacote
/
wp-content
/
plugins
/
paid-memberships-pro
/
includes
<?php /* Loading a service? */ /* Note: The applydiscountcode goes through the site_url() instead of admin-ajax to avoid HTTP/HTTPS issues. */ if(isset($_REQUEST['action']) && $_REQUEST['action'] == "applydiscountcode") { function pmpro_applydiscountcode_init() { require_once(dirname(__FILE__) . "/../services/applydiscountcode.php"); exit; } add_action("init", "pmpro_applydiscountcode_init", 11); } function pmpro_wp_ajax_authnet_silent_post() { require_once(dirname(__FILE__) . "/../services/authnet-silent-post.php"); exit; } add_action('wp_ajax_nopriv_authnet_silent_post', 'pmpro_wp_ajax_authnet_silent_post'); add_action('wp_ajax_authnet_silent_post', 'pmpro_wp_ajax_authnet_silent_post'); function pmpro_wp_ajax_getfile() { require_once(dirname(__FILE__) . "/../services/getfile.php"); exit; } add_action('wp_ajax_nopriv_getfile', 'pmpro_wp_ajax_getfile'); add_action('wp_ajax_getfile', 'pmpro_wp_ajax_getfile'); function pmpro_wp_ajax_ipnhandler() { require_once(dirname(__FILE__) . "/../services/ipnhandler.php"); exit; } add_action('wp_ajax_nopriv_ipnhandler', 'pmpro_wp_ajax_ipnhandler'); add_action('wp_ajax_ipnhandler', 'pmpro_wp_ajax_ipnhandler'); function pmpro_wp_ajax_stripe_webhook() { require_once(dirname(__FILE__) . "/../services/stripe-webhook.php"); exit; } add_action('wp_ajax_nopriv_stripe_webhook', 'pmpro_wp_ajax_stripe_webhook'); add_action('wp_ajax_stripe_webhook', 'pmpro_wp_ajax_stripe_webhook'); function pmpro_wp_ajax_braintree_webhook() { require_once(dirname(__FILE__) . "/../services/braintree-webhook.php"); exit; } add_action('wp_ajax_nopriv_braintree_webhook', 'pmpro_wp_ajax_braintree_webhook'); add_action('wp_ajax_braintree_webhook', 'pmpro_wp_ajax_braintree_webhook'); function pmpro_wp_ajax_twocheckout_ins() { require_once(dirname(__FILE__) . "/../services/twocheckout-ins.php"); exit; } add_action('wp_ajax_nopriv_twocheckout-ins', 'pmpro_wp_ajax_twocheckout_ins'); add_action('wp_ajax_twocheckout-ins', 'pmpro_wp_ajax_twocheckout_ins'); function pmpro_wp_ajax_memberlist_csv() { require_once(dirname(__FILE__) . "/../adminpages/memberslist-csv.php"); exit; } add_action('wp_ajax_memberslist_csv', 'pmpro_wp_ajax_memberlist_csv'); function pmpro_wp_ajax_orders_csv() { require_once(dirname(__FILE__) . "/../adminpages/orders-csv.php"); exit; } add_action('wp_ajax_orders_csv', 'pmpro_wp_ajax_orders_csv'); /** * Load the Orders print view. * * @since 1.8.6 */ function pmpro_orders_print_view() { require_once(dirname(__FILE__) . "/../adminpages/orders-print.php"); exit; } add_action('wp_ajax_pmpro_orders_print_view', 'pmpro_orders_print_view'); /** * Get order JSON. * * @since 1.8.6 */ function pmpro_get_order_json() { $order_id = $_REQUEST['order_id']; $order = new MemberOrder($order_id); echo json_encode($order); exit; } add_action('wp_ajax_pmpro_get_order_json', 'pmpro_get_order_json'); function pmpro_update_level_order() { $level_order = null; if ( isset( $_REQUEST['level_order'] ) && is_array( $_REQUEST['level_order'] ) ) { $level_order = array_map( 'intval', $_REQUEST['level_order'] ); $level_order = implode(',', $level_order ); } else if ( isset( $_REQUEST['level_order'] ) ) { $level_order = sanitize_text_field( $_REQUEST['level_order'] ); } echo pmpro_setOption('level_order', $level_order); exit; } add_action('wp_ajax_pmpro_update_level_order', 'pmpro_update_level_order');
[+]
..
[-] services.php
[edit]
[-] recaptcha.php
[edit]
[-] upgradecheck.php
[edit]
[-] rest-api.php
[edit]
[+]
updates
[-] email.php
[edit]
[-] updates.php
[edit]
[-] states.php
[edit]
[-] license.php
[edit]
[-] content.php
[edit]
[-] login.php
[edit]
[+]
compatibility
[-] https.php
[edit]
[-] metaboxes.php
[edit]
[-] localization.php
[edit]
[-] deprecated.php
[edit]
[-] notifications.php
[edit]
[-] adminpages.php
[edit]
[-] capabilities.php
[edit]
[-] profile.php
[edit]
[+]
lib
[-] cleanup.php
[edit]
[-] countries.php
[edit]
[-] sessions.php
[edit]
[-] currencies.php
[edit]
[-] addons.php
[edit]
[-] functions.php
[edit]
[-] filters.php
[edit]
[-] xmlrpc.php
[edit]
[-] setup.sql
[edit]
[-] compatibility.php
[edit]
[-] admin.php
[edit]
[-] privacy.php
[edit]
[-] pointers.php
[edit]
[-] init.php
[edit]
[-] reports.php
[edit]