Pre-select country for Billing Fields

If you have the Billing Details section showing in your form and want to pre-select the country, you can use the following snippet of code:Array

This would set the default country to United States.
Replace `US` with the ISO Country Code that you wish to be pre-selected (ex. DE -> Germany, IT -> Italy, CA -> Canada etc).

Paid Member Subscriptions Pro

Accept (recurring) payments, create subscription plans and restrict content on your website. Easily setup a WordPress membership site using Paid Member Subscriptions.

Unlock PRO Features

Or download FREE version