Skip to content

Commit

Permalink
Update edd-zarinpal.php
Browse files Browse the repository at this point in the history
  • Loading branch information
MA7 committed Jun 15, 2015
1 parent 031efa2 commit 60dc158
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edd-zarinpal_zg/edd-zarinpal.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
Author URI: http://haftir.ir
**/
@session_start();

/*
function zp_edd_rial ($formatted, $currency, $price) {
return $price . 'ریال';
}
add_filter( 'edd_rial_currency_filter_after', 'edd_rial', 10, 3 );

*/
function zp_zg_add_gateway ($gateways) {
$gateways['zarinpal'] = array('admin_label' => 'زرین‌پال', 'checkout_label' => 'پرداخت آنلاین با زرین‌پال');
return $gateways;
Expand Down

0 comments on commit 60dc158

Please sign in to comment.