Ejemplo n.º 1
0
 /**
  * Provides the locale-aware checkout button URL.
  *
  * A common customization request is to swap the standard button image for something else and this
  * can be accomplished via the shopp_paypapstandard_buttonurl hook. It is the merchant's/implementing
  * developer's responsibility to comply with PayPal guidelines if they choose to do this.
  *
  * @author Jonathan Davis
  * @since 1.3
  *
  * @return string The URL of the "Checkout with PayPal"
  **/
 private function buttonurl()
 {
     $buttonurl = apply_filters('shopp_paypalstandard_buttonurl', sprintf(self::BUTTON, $this->locale()));
     return Shopp::force_ssl($buttonurl);
 }
Ejemplo n.º 2
0
/**
 * @deprecated Use Shopp::force_ssl()
 **/
function force_ssl($url, $rewrite = false)
{
    return Shopp::force_ssl($url, $rewrite);
}