Plugin Directory

Changeset 2956528


Ignore:
Timestamp:
08/22/2023 06:02:49 AM (3 years ago)
Author:
cartx
Message:

Updated add_action priority.

Location:
cartpanda
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • cartpanda/trunk/cartpanda.php

    r2811637 r2956528  
    44 * Plugin Name: Cartpanda
    55 * Description: O checkout transparente de 1-página de mais alta conversão do mercado. Upsell de 1-clique e Order Bump nativo.
    6  * Version: 1.0.2
     6 * Version: 1.0.3
    77 * Author: Cartpanda
    88 * Author URI: https://cartpanda.com/
     
    2424        }
    2525
    26         add_action('woocommerce_before_cart', [$this, 'cartpanda_add_cart_script']);
    27         add_action('woocommerce_before_checkout_form', [$this, 'cartpanda_add_checkout_script']);
     26        add_action('woocommerce_before_cart', [$this, 'cartpanda_add_cart_script', 1]);
     27        add_action('woocommerce_before_checkout_form', [$this, 'cartpanda_add_checkout_script', 1]);
    2828        add_action( 'admin_menu', array( $this, 'cartpanda_add_plugin_page' ) );
    2929        add_action( 'admin_init', array( $this, 'cartpanda_page_init' ) );
Note: See TracChangeset for help on using the changeset viewer.