HEX
Server: Apache
System: Linux server1.ariadata.co 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64
User: nepi (1051)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,show_source,popen,proc_open
Upload Files
File: /home/nepi/pish.nepi.ir/wp-content/themes/ohio/woocommerce/add-to-wishlist-button.php
<?php
/**
 * Add to wishlist button template
 *
 * @author Your Inspiration Themes
 * @package YITH WooCommerce Wishlist
 * @version 2.0.8
 */

if ( ! defined( 'YITH_WCWL' ) ) {
    exit;
} // Exit if accessed directly

global $product;

$link = esc_url( add_query_arg( 'add_to_wishlist', $product_id ) );
$allowed_html = array(
    'img' => array(
        'class' => true,
        'src' => true,
        'alt'=> true
    )
); 
?>

<a class="<?php echo esc_attr( $link_classes ); ?> button -outlined btn-wishlist " href="<?php echo esc_url( $link ); ?>" rel="nofollow" data-button-loading="true" data-product-id="<?php echo esc_attr( $product_id ); ?>" data-product-type="<?php echo esc_attr( $product_type ); ?>" ><span><?php echo  wp_kses( $label,'default' );   ?></span>
</a>