This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* ₺ Sembolunu TL ile değiştir | |
* Wordpress Yardım | |
* https://wordpressyardim.com | |
*/ | |
add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2); | |
function change_existing_currency_symbol( $currency_symbol, $currency ) { | |
switch( $currency ) { | |
case 'TRY': $currency_symbol = 'TL'; break; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Get isteği geldiğinde burası çalışacak | |
function doGet(e) { | |
return HtmlService.createHtmlOutput("request received"); | |
} | |
//Post isteği geldiğinde bu bölüm çalışacak | |
function doPost(e) { | |
var siteUrl = "https://wordpressyardim.com" | |
var myData = JSON.parse([e.postData.contents]); | |
var order_number = myData.number; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Get isteği geldiğinde burası çalışacak | |
function doGet(e) { | |
return HtmlService.createHtmlOutput("request received"); | |
} | |
//Post isteği geldiğinde bu bölüm çalışacak | |
function doPost(e) { | |
var siteUrl = "https://wordpressyardim.com" | |
var myData = JSON.parse([e.postData.contents]); | |
var order_number = myData.number; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Get isteği geldiğinde burası çalışacak | |
function doGet(e) { | |
return HtmlService.createHtmlOutput("request received"); | |
} | |
//Post isteği geldiğinde bu bölüm çalışacak | |
function doPost(e) { | |
var siteUrl = "https://wordpressyardim.com" | |
var myData = JSON.parse([e.postData.contents]); | |
var order_number = myData.number; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"jquerycdn": "<script src=\"//ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js\">", | |
"awesome": "<link rel=\"stylesheet\" href=\"maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css\" />", | |
"lesscss": "<link rel=\"stylesheet/less\" type=\"text/css\" href=\"base.less\" />", | |
"bootstrapcss": "<link rel=\"stylesheet\" href=\"//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css\" />", | |
"bootstrapjs": "<script src=\"//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js\">", | |
"lessjs": "<script src=\"//cdnjs.cloudflare.com/ajax/libs/less.js/2.6.0/less.min.js\">", | |
"angularjs":"<script src=\"//cdnjs.cloudflare.com/ajax/libs/angular.js/2.0.0-beta.2/angular2.min.js\">", | |
"backbonejs":"<script src=\"//cdnjs.cloudflare.com/ajax/libs/backbone.js/1.2.3/backbone-min.js"\">", |