Changeset 2893829
- Timestamp:
- 04/04/2023 06:53:30 PM (3 years ago)
- Location:
- feexpay
- Files:
-
- 2 deleted
- 2 edited
-
tags/1.0.0/wp-feexpay.php (modified) (3 diffs)
-
tags/1.0.0/wp-feexpay.txt (deleted)
-
trunk/wp-feexpay.php (modified) (3 diffs)
-
trunk/wp-feexpay.txt (deleted)
Legend:
- Unmodified
- Added
- Removed
-
feexpay/tags/1.0.0/wp-feexpay.php
r2893633 r2893829 17 17 18 18 // include feexpay 19 require_once(plugin_dir_path(_ DIR_) . 'feexpay/vendor/autoload.php');19 require_once(plugin_dir_path(__DIR__) . 'feexpay/vendor/autoload.php'); 20 20 21 21 /* … … 24 24 function feexpay_init_gateway_class() { 25 25 if ( ! class_exists( 'WC_Payment_Gateway' ) ) return; 26 require_once(plugin_dir_path(_ FILE_) . 'includes/class-wc-feexpay-gateway.php');26 require_once(plugin_dir_path(__FILE__) . 'includes/class-wc-feexpay-gateway.php'); 27 27 28 28 add_filter( 'woocommerce_payment_gateways', 'feexpay_add_gateway_class' ); … … 43 43 return $links; 44 44 } 45 add_filter('plugin_action_links_' . plugin_basename( _FILE_), 'feexpay_action_links');45 add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'feexpay_action_links'); -
feexpay/trunk/wp-feexpay.php
r2893633 r2893829 17 17 18 18 // include feexpay 19 require_once(plugin_dir_path(_ DIR_) . 'feexpay/vendor/autoload.php');19 require_once(plugin_dir_path(__DIR__) . 'feexpay/vendor/autoload.php'); 20 20 21 21 /* … … 24 24 function feexpay_init_gateway_class() { 25 25 if ( ! class_exists( 'WC_Payment_Gateway' ) ) return; 26 require_once(plugin_dir_path(_ FILE_) . 'includes/class-wc-feexpay-gateway.php');26 require_once(plugin_dir_path(__FILE__) . 'includes/class-wc-feexpay-gateway.php'); 27 27 28 28 add_filter( 'woocommerce_payment_gateways', 'feexpay_add_gateway_class' ); … … 43 43 return $links; 44 44 } 45 add_filter('plugin_action_links_' . plugin_basename( _FILE_), 'feexpay_action_links');45 add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'feexpay_action_links');
Note: See TracChangeset
for help on using the changeset viewer.