public static function get_country_code($country) { $countries = WPMOLY_Settings::get_supported_countries(); $code = array_search($country, $countries); if (false !== $code) { return $code; } return null; }
public static function get_country_code($country) { $countries = WPMOLY_Settings::get_supported_countries(); $code = array_search($country, $countries); if (false !== $code) { return $code; } return null; }