Update docs/snippets/add-or-modify-states.md

Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
This commit is contained in:
Niels Lange 2023-08-23 12:55:33 +02:00 committed by GitHub
parent 6aabbd75d5
commit 4b082cec17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -4,8 +4,7 @@ Add this code to your child themes `functions.php` file or via a plugin that
Add your own or modify shipping states in WooCommerce.
> **Note**
> You must replace both instances of XX with your country code. This means each state id in the array must have your two letter country code before the number you assign to the state.
> Note: you **must** replace both instances of XX with your country code. This means each state id in the array must have your two letter country code before the number you assign to the state.
```php
if ( ! function_exists( 'YOUR_PREFIX_add_or_modify_states' ) ) {