PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
woocommerce-pdf-vouchers
/
includes
/
compatibility
<?php // Exit if accessed directly if ( !defined( 'ABSPATH' ) ) exit; /** * QtranslateX Compatibility Class * * Handles to Add QtranslateX compatibility * * @package WooCommerce - PDF Vouchers * @since 2.8.0 */ class WOO_Vou_QtranslateX { function __construct() { } /** * Adding Hooks * * Adding proper hooks for QTranslateX. * * @package WooCommerce - PDF Vouchers * @since 2.8.0 */ public function add_hooks() { /** * As QTranslateX save all languages code in post content so voucher template content will be * in all languages. So we need to get activated language content otherwise in voucher template * PDF, all languages content will appear * * This filter will only download voucher content of current language */ add_filter( 'woo_vou_voucher_template_content', 'qtranxf_useCurrentLanguageIfNotFoundUseDefaultLanguage', 20 ); add_filter( 'woo_vou_product_name', 'qtranxf_useCurrentLanguageIfNotFoundUseDefaultLanguage', 20 ); add_filter( 'woocommerce_product_title','qtranxf_useCurrentLanguageIfNotFoundUseDefaultLanguage', 20 ); } }
[+]
..
[-] class-woo-vou-your-price.php
[edit]
[-] class-woo-vou-wedevs-dokan.php
[edit]
[-] class-woo-vou-order-sms.php
[edit]
[-] class-woo-vou-booking.php
[edit]
[-] class-woo-vou-qtranslate-x.php
[edit]
[-] class-woo-vou-wpml.php
[edit]
[-] class-woo-vou-vendor-pro.php
[edit]
[-] class-woo-vou-eml.php
[edit]
[-] class-woo-vou-vendor.php
[edit]
[-] class-woo-vou-wcmp.php
[edit]
[-] class-woo-vou-bundles.php
[edit]
[-] class-woo-vou-currency-switcher.php
[edit]