HEX
Server: LiteSpeed
System: Linux linux31.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: salamatk (1501)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: //proc/self/cwd/wp-content/themes/xts-luman/framework/modules/wc-wishlist/templates/page.php
<?php
/**
 * Wishlist page template
 *
 * @package xts
 * @version 1.0.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit( 'No direct script access allowed' );
}

?>

<?php if ( xts_get_opt( 'wishlist_logged' ) && ! is_user_logged_in() ) : ?>
	<div class="woocommerce-notices-wrapper">
		<div class="woocommerce-info" role="alert">
			<?php esc_html_e( 'Wishlist is available only for logged in visitors.', 'xts-theme' ); ?>
			<a href="<?php echo esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ); ?>">
				<?php esc_html_e( 'Sign in', 'xts-theme' ); ?>
			</a>
		</div>
	</div>
	<?php return; ?>
<?php endif; ?>

<?php if ( is_user_logged_in() && $wishlist_ui->is_editable() ) : ?>
	<?php do_action( 'woocommerce_account_navigation' ); ?>
<?php endif; ?>

<div class="<?php echo ( is_user_logged_in() && $wishlist_ui->is_editable() ) ? 'woocommerce-MyAccount-content' : ''; ?>">
	<?php echo apply_filters( 'xts_wishlist_page_output', $wishlist_ui->wishlist_page_content() ); // phpcs:ignore ?>
</div>