• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Easy Digital Downloads a2z

Easy Digital Downloads a2z

Easy Digital Downloads a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / EDD_Amazon_Payments::register_gateway() – Register the gateway

You appear to be a bot. Output may be restricted

Description

Register the gateway

Usage

$array = EDD_Amazon_Payments::register_gateway( $gateways );

Parameters

$gateways
( mixed ) required –

Returns

array

Source

File name: easy-digital-downloads/includes/gateways/amazon-payments.php
Lines:

1 to 16 of 16
  public function register_gateway( $gateways ) {

    $default_amazon_info = array(
      $this->gateway_id => array(
        'admin_label'    => __( 'Amazon', 'easy-digital-downloads' ),
        'checkout_label' => __( 'Amazon', 'easy-digital-downloads' ),
        'supports'       => array(),
      ),
    );

    $default_amazon_info = apply_filters( 'edd_register_amazon_gateway', $default_amazon_info );
    $gateways            = array_merge( $gateways, $default_amazon_info );

    return $gateways;

  }
 

 View on GitHub View on Trac

Published: 26th November 2019 | Last updated: 26th November 2019

Primary Sidebar

Information

Function name: EDD_Amazon_Payments::register_gateway
Class ref: EDD_Amazon_Payments
Plugin ref: Easy Digital Downloads
Version: 2.11.6
Sourcefile: includes/gateways/amazon-payments.php
File ref: includes/gateways/amazon-payments.php
Deprecated?: No
API Letters: A,E,G,P,R

Footer

Easy Digital Downloads a2z
Easy Digital Downloads a2z
Easy Digital Downloads a2z
WordPress 5.9.3
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  edd.wp-a2z.org
© Copyright Easy Digital Downloads a2z 2014-2022. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites