You appear to be a bot. Output may be restricted
Description
Print client ID in header
Usage
$void = EDD_Amazon_Payments::print_client();
Parameters
Returns
void
Source
File name: easy-digital-downloads/includes/gateways/amazon-payments.php
Lines:
1 to 17 of 17
public function print_client() { if ( ! $this->is_setup() ) { return false; } if ( ! edd_is_checkout() ) { return; } ?> <script> window.onAmazonLoginReady = function() { amazon.Login.setClientId(<?php echo json_encode( edd_get_option( 'amazon_client_id', '' ) ); ?>); }; </script> <?php }