Update add-or-modify-states.md
This commit is contained in:
parent
3ae66b6803
commit
86cc946848
|
@ -19,8 +19,8 @@ if ( ! function_exists( 'YOUR_PREFIX_add_or_modify_states' ) ) {
|
|||
*/
|
||||
function YOUR_PREFIX_add_or_modify_states( $states ) {
|
||||
$states['XX'] = array(
|
||||
'XX1' => 'State 1',
|
||||
'XX2' => 'State 2'
|
||||
'XX1' => __( 'State 1', 'woocommerce' ),
|
||||
'XX2' => __( 'State 2', 'woocommerce' ),
|
||||
);
|
||||
|
||||
return $states;
|
||||
|
|
Loading…
Reference in New Issue