Initial Commit N° : 002 - V.4.3.3

This commit is contained in:
2025-03-28 14:39:34 +01:00
parent 238e5d7999
commit 579b475021
4 changed files with 10046 additions and 2 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+17
View File
@@ -174,3 +174,20 @@ if (!function_exists('elessi_load_textdomain')) :
} }
} }
endif; endif;
// -----------------------------------------------------------------------------
/**
* Change a currency symbol
*/
add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2);
function change_existing_currency_symbol($currency_symbol, $currency) {
switch ($currency) {
case 'DZD':
$currency_symbol = 'DA';
break;
}
return $currency_symbol;
}