PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/familymovies.us/wp-content/plugins/paid-memberships-pro/adminpages/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/familymovies.us/wp-content/plugins/paid-memberships-pro/adminpages/orders-print.php |
<?php /** * Order - Print View * * Gets the order and displays the print view template. * * @since 1.8.6 */ //only admins can get this if ( ! function_exists( "current_user_can" ) || ( ! current_user_can( "manage_options" ) && ! current_user_can( "pmpro_ordersprint" ) ) ) { die( esc_html__( "You do not have permissions to perform this action.", 'paid-memberships-pro' ) ); } // Do we have an order ID? if ( empty( $_REQUEST['order'] ) ) { wp_redirect( admin_url( 'admin.php?page=pmpro-orders' ) ); exit; } // Get order and membership level. $order = new MemberOrder( intval( $_REQUEST['order'] ) ); $level = pmpro_getLevel($order->membership_id); // Load template if ( file_exists( get_stylesheet_directory() . '/paid-memberships-pro/pages/orders-print.php' ) ) { $template = get_stylesheet_directory() . '/paid-memberships-pro/pages/orders-print.php'; } elseif ( file_exists( get_template_directory() . '/paid-memberships-pro/pages/orders-print.php' ) ) { $template = get_template_directory() . '/paid-memberships-pro/pages/orders-print.php'; } else { $template = PMPRO_DIR . '/adminpages/templates/orders-print.php'; } require_once( $template ); ?> <script> window.print(); </script>