%PDF- %PDF-
Direktori : /var/www/cwg/wp-content/themes/cwg/woocommerce/ |
Current File : //var/www/cwg/wp-content/themes/cwg/woocommerce/wishlist-manage-header.php |
<?php /** * Wishlist manage header template * * @author Your Inspiration Themes * @package YITH WooCommerce Wishlist * @version 3.0.0 */ /** * Template variables: * * @var $page_title string Page title * @var $template_part string Template part currently being loaded (manage) * @var $user_wishlists YITH_WCWL_Wishlist[] Array of user wishlists * @var $show_number_of_items bool Whether to show number of items or not * @var $show_date_of_creation bool Whether to show date of creation or not * @var $show_download_as_pdf bool Whether to show download button or not * @var $show_rename_wishlist bool Whether to show rename button or not * @var $show_delete_wishlist bool Whether to show delete button or not * @var $fragment_options array Array of items to use for fragment generation */ if ( ! defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly ?> <?php include(locate_template('template-parts/popups/add-to-wishlist-modal.php')); ?> <form id="yith-wcwl-form" class="px-[4%] mt-6" action="<?php echo esc_url( YITH_WCWL()->get_wishlist_url( 'manage' ) ); ?>" method="post" data-fragment-options="<?php echo esc_attr( json_encode( $fragment_options ) ); ?>"> <!-- TITLE --> <?php do_action( 'yith_wcwl_before_wishlist_title' ); ?> <div class="flex flex-row justify-between uppercase items-center mb-10"> <?php if ( ! empty( $page_title ) ) { echo apply_filters( 'yith_wcwl_wishlist_title', '<h2 class="font-medium">' . esc_html( $page_title ) . '</h2>' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } ?> <div id="js-add-to-wishlist-btn-modal" class="create btn-stroked w-[180px]" title="Create a wishlist" data-rel="prettyPhoto[create_wishlist]">Create a new project</div> </div> <?php do_action( 'yith_wcwl_before_wishlist_manage' ); ?>