How Can We Help?

Search for answers or browse our knowledge base.

< All Topics
Print

Add Nigerian currency Naira to Divi RealEstate child theme

Add the following code at the end of the functions.php file and it will list the Nigerian currency Naira in the Easy Property Listings Settings.

if ( ! function_exists( 'dr_epl_currencies' ) ) {
	function dr_epl_currencies( $currencies ) {
		$currencies['₦'] = __('Naira (₦)', 'my_domain');
		return $currencies;
	}
	add_filter('epl_get_currencies', 'dr_epl_currencies');
}

*** If this is not done correctly, it may end up crashing your website. Please ve very careful while working with functions.php.

Table of Contents