function ejr_limita_envios ($provincias) { unset ($provincias ['ES'] ['TF']); unset ($provincias ['ES'] ['GC']); unset ($provincias ['ES'] ['CE']); unset ($provincias ['ES'] ['ML']); return $provincias; } add_filter ('woocommerce_states', 'ejr_limita_envios');
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter