Currency after .00 hide | WordPress.org

[ad_1]

Hi @guidetour

Thank you for asking.

Please use the following code in the end of the “functions.php” file in your currently active child theme folder. If you do not have any child theme please install and activate one. You can also use any code snippet plugin to implement the code as well.

add_filter( 'atbdp_format_amount', 'directorist_custom_modify_price_format', 10, 2 );
function directorist_custom_modify_price_format( $default, $price ){

    if( ! $price ) {
        return $default;
    }
    
	return number_format_i18n( $price );
}

Please contact our support channel if you need help with this. https://prnt.sc/cKSW-z2RTXrs

Kind Regards

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer