yit_wc_deprecated_filters

The YITH WooCommerce Compare yit wc deprecated filters function.

Description

yit_wc_deprecated_filters(); 

Usage

  1. if ( !function_exists( 'yit_wc_deprecated_filters' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'yith-woocommerce-compare/plugin-fw/yit-woocommerce-compatibility.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = yit_wc_deprecated_filters(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/plugin-fw/yit-woocommerce-compatibility.php  
  1. function yit_wc_deprecated_filters() { 
  2. return apply_filters( 'yit_wc_deprecated_filters', array( 
  3. 'woocommerce_email_order_schema_markup' => 'woocommerce_structured_data_order',  
  4. 'woocommerce_product_width' => 'woocommerce_product_get_width',  
  5. 'woocommerce_product_height' => 'woocommerce_product_get_height',  
  6. 'woocommerce_product_length' => 'woocommerce_product_get_length',  
  7. 'woocommerce_product_weight' => 'woocommerce_product_get_weight',  
  8. 'woocommerce_get_sku' => 'woocommerce_product_get_sku',  
  9. 'woocommerce_get_price' => 'woocommerce_product_get_price',  
  10. 'woocommerce_get_regular_price' => 'woocommerce_product_get_regular_price',  
  11. 'woocommerce_get_sale_price' => 'woocommerce_product_get_sale_price',  
  12. 'woocommerce_product_tax_class' => 'woocommerce_product_get_tax_class',  
  13. 'woocommerce_get_stock_quantity' => 'woocommerce_product_get_stock_quantity',  
  14. 'woocommerce_get_product_attributes' => 'woocommerce_product_get_attributes',  
  15. 'woocommerce_product_gallery_attachment_ids' => 'woocommerce_product_get_gallery_image_ids',  
  16. 'woocommerce_product_review_count' => 'woocommerce_product_get_review_count',  
  17. 'woocommerce_product_files' => 'woocommerce_product_get_downloads',  
  18. 'woocommerce_get_currency' => 'woocommerce_order_get_currency',  
  19. 'woocommerce_order_amount_discount_total' => 'woocommerce_order_get_discount_total',  
  20. 'woocommerce_order_amount_discount_tax' => 'woocommerce_order_get_discount_tax',  
  21. 'woocommerce_order_amount_shipping_total' => 'woocommerce_order_get_shipping_total',  
  22. 'woocommerce_order_amount_shipping_tax' => 'woocommerce_order_get_shipping_tax',  
  23. 'woocommerce_order_amount_cart_tax' => 'woocommerce_order_get_cart_tax',  
  24. 'woocommerce_order_amount_total' => 'woocommerce_order_get_total',  
  25. 'woocommerce_order_amount_total_tax' => 'woocommerce_order_get_total_tax',  
  26. 'woocommerce_order_amount_total_discount' => 'woocommerce_order_get_total_discount',  
  27. 'woocommerce_order_amount_subtotal' => 'woocommerce_order_get_subtotal',  
  28. 'woocommerce_order_tax_totals' => 'woocommerce_order_get_tax_totals',  
  29. 'woocommerce_refund_amount' => 'woocommerce_get_order_refund_get_amount',  
  30. 'woocommerce_refund_reason' => 'woocommerce_get_order_refund_get_reason',  
  31. 'default_checkout_country' => 'default_checkout_billing_country',  
  32. 'default_checkout_state' => 'default_checkout_billing_state',  
  33. 'default_checkout_postcode' => 'default_checkout_billing_postcode',  
  34.  
  35. ) );