LearnPress Plugin How to Add New Currency ThimPress in Wordpress
Hi Today I discussed LearnPress Plugin How to Add New Currency ThimPress in Wordpress. Wordpress woo-commerce LearnPress Plugin Add New Currency and Symbol Here Code.
![]() |
LearnPress Plugin How to Add Currency ThimPress in Wordpress |
Theme functions.php file Edit Paste this Code
Add currecies edit your own currency and then save and check it.
add_filter( 'learn_press_get_payment_currencies', 'add_my_currency' ); function add_my_currency( $currencies ) { $currencies['PKR'] = 'Pakistan'; return $currencies; } add_filter('learn_press_currency_symbol', 'add_my_currency_symbol', 10, 2); function add_my_currency_symbol( $currency_symbol, $currency ) { switch( $currency ) { case 'PKR': $currency_symbol = 'Rs.'; break; } return $currency_symbol; }
4 comments
commentsTry not to make site guests move from page to page keeping in mind the end goal to buy an item. Give them a straightforward, simple to-utilize site that they'll readily come back to. swift member 2.0 review
ReplyThis post is like professional! And if you want to find best premium wordpress templates for any kind of business go here https://wordpresstemplates.ch/
ReplyWhere is the directory where this
Replyfile (functions.php?
wp-content -> themes-> Active Themefolder -> functions.php
Reply