# userswp/1.2.70/includes/helpers/countries.php

UsersWP – Front-end login form, User Registration, User Profile &amp; Members Directory plugin for WP, version 1.2.70. 28 lines.

- Page: https://pluginprobe.com/plugins/userswp/1.2.70/code/includes/helpers/countries.php
- Raw: https://pluginprobe.com/plugins/userswp/1.2.70/raw/includes/helpers/countries.php
- Modified: 2017-09-19T13:57:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/userswp/1.2.70/code/includes/helpers/countries.php#L10-L20`.

```php
<?php
/**
 * Returns the country array.
 *
 * @since       1.0.0
 * @package     userswp
 *
 * @return      array       Country array.
 */
function uwp_get_country_data(){
    $countries = new UsersWP_Countries();
    return $countries->get_country_data();
}

/**
 * Outputs country html.
 *
 * @since       1.0.0
 * @package     userswp
 *
 * @param       string      $value      Country code.
 *
 * @return      string                  Html string.
 */
function uwp_output_country_html($value){
    $countries = new UsersWP_Countries();
    return $countries->output_country_html($value);
}
```
