Source Code Documentation


s2member-pro\includes\templates\buttons\google-checkout-button.php


  1. <?php
  2. if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
  3. exit ("Do not access this file directly.");
  4. ?>
  5.  
  6. <a href="%%wpurl%%/?s2member_pro_google_co=1&amp;co[level]=%%level%%&amp;co[ccaps]=%%ccaps%%&amp;co[desc]=%%desc%%&amp;co[cc]=%%cc%%&amp;co[custom]=%%custom%%&amp;co[ta]=%%ta%%&amp;co[tp]=%%tp%%&amp;co[tt]=%%tt%%&amp;co[ra]=%%ra%%&amp;co[rp]=%%rp%%&amp;co[rt]=%%rt%%&amp;co[rr]=%%rr%%&amp;co[image]=%%image%%&amp;co[output]=%%output%%">
  7. <img src="https://checkout.google.com/buttons/checkout.gif?w=180&amp;h=46&amp;style=trans&amp;variant=text&amp;loc=<?php echo urlencode (_x ("en_US", "s2member-front google-button-lang-code", "s2member")); ?>" style="width:auto; height:auto; border:0;" alt="Google®" />
  8. </a>

s2member-pro\includes\templates\buttons\google-checkout-button.php

Source Code Documentation