| 1 |
<?php |
| 2 |
/** |
| 3 |
* Returns the country array. |
| 4 |
* |
| 5 |
* @since 1.0.0 |
| 6 |
* @package userswp |
| 7 |
* |
| 8 |
* @return array Country array. |
| 9 |
*/ |
| 10 |
function uwp_get_country_data(){ |
| 11 |
$countries = new UsersWP_Countries(); |
| 12 |
return $countries->get_country_data(); |
| 13 |
} |
| 14 |
|
| 15 |
/** |
| 16 |
* Outputs country html. |
| 17 |
* |
| 18 |
* @since 1.0.0 |
| 19 |
* @package userswp |
| 20 |
* |
| 21 |
* @param string $value Country code. |
| 22 |
* |
| 23 |
* @return string Html string. |
| 24 |
*/ |
| 25 |
function uwp_output_country_html($value){ |
| 26 |
$countries = new UsersWP_Countries(); |
| 27 |
return $countries->output_country_html($value); |
| 28 |
} |