Created
May 7, 2015 20:01
-
-
Save tribulant/9c6e9ef53619c2317ea3 to your computer and use it in GitHub Desktop.
WordPress Shopping Cart: Redirect/Hosted Payment Gateway step 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WordPress Shopping Cart: Redirect/Hosted Payment Gateway step 2 | |
// http://tribulant.com/docs/wordpress-shopping-cart-plugin/7190 | |
function gateway_extensions_list($extensions = null) { | |
$extensions['gateway'] = array( | |
'name' => __('Gateway', 'checkout-gateway'), | |
'link' => "http://domain.com/gateway/", | |
'image' => plugins_url() . '/gateway/icon.jpg', | |
'description' => __("Gateway which sends customers through to a secure payment page.", 'checkout-gateway'), | |
'slug' => 'gateway', | |
'plugin_name' => 'checkout-gateway', | |
'plugin_file' => 'gateway.php', | |
); | |
return $extensions; | |
} | |
add_filter('wpco_extensions_list', 'gateway_extensions_list', 10, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment