Display Only Selected Countries on the Vendor Registration Form

add_action( ‘wp_enqueue_scripts’, static function () { $registration_page_id = (int) get_option( ‘wcv_signup_registration_page_id’, 0 ); if ( 0 === $registration_page_id || ! is_page( $registration_page_id ) ) { return; } $allowed_countries = array( ‘AU’, ‘GB’, ‘US’, ‘CA’ ); // ISO 3166-1 alpha-2 codes…Continue reading