Plugin Directory

Changeset 3181638


Ignore:
Timestamp:
11/04/2024 04:38:40 PM (16 months ago)
Author:
ampmode
Message:

upgrade conditional-woo-checkout-field to v1.2.4

Location:
conditional-woo-checkout-field/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • conditional-woo-checkout-field/trunk/conditional-woo-checkout-field.php

    r2889507 r3181638  
    55    Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=N2TYAV69U9CP4
    66    Description: Display a custom field at checkout in your WooCommerce store if a certain product is in the customer's cart.
    7     Requires at leas: 3.1.0
    8     Tested up to: 6.1.1
    9     Version: 1.2.3
    10     WC requires at least: 3.0.0
    11     WC tested up to: 7.5.0
     7    Requires at least: 4.4
     8    Tested up to: 6.6.1
     9    Version: 1.2.4
     10    WC requires at least: 3.1
     11    WC tested up to: 9.2.3
    1212    Author: AMP-MODE
    1313    Author URI: https://amplifyplugins.com
     
    3333
    3434add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'wc_fields_action_links' );
     35
     36/**
     37 * Add HPOS support and compability
     38 *
     39 * @author Archie Mercader <achiles@modeeffect.com>
     40 */
     41add_action( 'before_woocommerce_init', function () {
     42    if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
     43        \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
     44    }
     45});
    3546
    3647function wc_fields_action_links( $links ) {
  • conditional-woo-checkout-field/trunk/readme.txt

    r2889507 r3181638  
    33Tags: plugin, woocommerce, checkout, custom, input, input field
    44Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=N2TYAV69U9CP4
    5 Requires at least: 3.1.0
     5Requires at least: 4.4
    66Tested up to: 6.1.1
    7 WC requires at least: 3.0.0
    8 WC tested up to: 7.5.0
    9 Stable tag: 1.2.3
     7WC requires at least: 3.1
     8WC tested up to: 7.5.1
     9Stable tag: 1.2.4
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.