PHP code example of k1sul1 / woocommerce-installment-gateway

1. Go to this page and download the library: Download k1sul1/woocommerce-installment-gateway library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

k1sul1 / woocommerce-installment-gateway example snippets


add_action("plugins_loaded", function() {
  /* Disable default payment callback action */
  remove_action("woocommerce_api_callback", "k1sul1_wcigw_callback_handler");
  remove_action("k1sul1-wcigw-callback", "k1sul1_wcigw_demo_callback");
}, 11);