PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in /home/telusvwg/public_html/da754d/index.php on line 8
$#$#$#

Dir : /home/telusvwg/alwatnitraders.com/wp-content/themes/woodmart/inc/integrations/
Server: Linux premium279.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
IP: 66.29.132.192
Choose File :

Url:
Dir : /home/telusvwg/alwatnitraders.com/wp-content/themes/woodmart/inc/integrations/woo-subscriptions.php

<?php
/**
 * WooCommerce Subscriptions integration.
 *
 * @package woodmart
 */

if ( ! class_exists( 'WC_Subscriptions' ) ) {
	return;
}

if ( ! function_exists( 'woodmart_wc_subscriptions_add_variable_types' ) ) {
	/**
	 * Adds variable subscription product type to WoodMart variable product types list.
	 *
	 * @param array $types List of variable product types.
	 * @return array Modified list of product types.
	 */
	function woodmart_wc_subscriptions_add_variable_types( $types ) {
		$types[] = 'variable-subscription';

		return $types;
	}

	add_filter( 'woodmart_variable_product_types', 'woodmart_wc_subscriptions_add_variable_types' );
}

if ( ! function_exists( 'woodmart_wc_subscriptions_add_supported_types' ) ) {
	/**
	 * Adds subscription product types to waitlist and price tracker features.
	 *
	 * @param array $types List of allowed product types.
	 * @return array Modified list of product types.
	 */
	function woodmart_wc_subscriptions_add_supported_types( $types ) {
		$types[] = 'subscription';
		$types[] = 'variable-subscription';
		$types[] = 'subscription_variation';

		return $types;
	}

	add_filter( 'woodmart_waitlist_allowed_product_types', 'woodmart_wc_subscriptions_add_supported_types' );
	add_filter( 'woodmart_price_tracker_allowed_product_types', 'woodmart_wc_subscriptions_add_supported_types' );
}