Code stopped working
-
Hello.
I have been using a code for some time so that the ecommerce does not show the provinces of the Canary Islands, Melilla, Ceuta and Balearic Islands in the shipping address. So far it worked correctly, but now the code does not work and shows those provinces. Could you help me?
The code is as follows:function afr_limita_envios ($provincias) { unset ($provincias [‘ES’] [‘TF’]); unset ($provincias [‘ES’] [‘GC’]); unset ($provincias [‘ES’] [‘CE’]); unset ($provincias [‘ES’] [‘ML’]); unset ($provincias [‘ES’] [‘PM’]); return $provincias; } add_filter (‘woocommerce_states’, ‘afr_limita_envios’);
The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Code stopped working’ is closed to new replies.